Using offscreen video memory to store source graphics for vbe/af. allegro game programming library.
#include <allegro.h>
Example exaccel
This program demonstrates how to use an offscreen part of the video memory to store source graphics for a hardware accelerated graphics driver. The example loads the `mysha.pcx' file and then blits it several times on the screen. Depending on whether you have enough video memory and Allegro supports the hardware acceleration features of your card, your success running this example may be none at all, sluggish performance due to software emulation, or flicker free smooth hardware accelerated animation.
BITMAP(3alleg4), END_OF_MAIN(3alleg4), PALETTE(3alleg4), SCREEN_H(3alleg4), SCREEN_W(3alleg4), acquire_bitmap(3alleg4), allegro_error(3alleg4), allegro_init(3alleg4), allegro_message(3alleg4), blit(3alleg4), clear_bitmap(3alleg4), create_video_bitmap(3alleg4), destroy_bitmap(3alleg4), font(3alleg4), gfx_capabilities(3alleg4), install_keyboard(3alleg4), install_timer(3alleg4), keypressed(3alleg4), load_bitmap(3alleg4), readkey(3alleg4), release_bitmap(3alleg4), replace_filename(3alleg4), screen(3alleg4), set_gfx_mode(3alleg4), set_palette(3alleg4), show_video_bitmap(3alleg4), textout_ex(3alleg4), textprintf_ex(3alleg4)