|
|
| |
exaccel(3) |
Allegro manual |
exaccel(3) |
exaccel - 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(3), END_OF_MAIN(3), PALETTE(3), SCREEN_H(3),
SCREEN_W(3), acquire_bitmap(3), allegro_error(3),
allegro_init(3), allegro_message(3), blit(3),
clear_bitmap(3), create_video_bitmap(3),
destroy_bitmap(3), font(3), gfx_capabilities(3),
install_keyboard(3), install_timer(3), keypressed(3),
load_bitmap(3), readkey(3), release_bitmap(3),
replace_filename(3), screen(3), set_gfx_mode(3),
set_palette(3), show_video_bitmap(3), textout_ex(3),
textprintf_ex(3)
Visit the GSP FreeBSD Man Page Interface. Output converted with ManDoc. |