1ex3buf(3) Allegro manual ex3buf(3)
2
3
4
6 ex3buf - Mode-X triple buffering and retrace interrupt simulation.
7 Allegro game programming library.
8
10 #include <allegro.h>
11
12
13 Example ex3buf
14
16 This program demonstrates the use of triple buffering. Several trian‐
17 gles are displayed rotating and bouncing on the screen until you press
18 a key. Note that on some platforms you can't get real hardware triple
19 buffering. The Allegro code remains the same, but most likely the
20 graphic driver will emulate it. Unfortunately, in these cases you can't
21 expect the animation to be completely smooth and flicker free.
22
23
25 BITMAP(3), END_OF_MAIN(3), SCREEN_H(3), SCREEN_W(3), acquire_bitmap(3),
26 allegro_error(3), allegro_init(3), allegro_message(3), clear_bitmap(3),
27 clear_keybuf(3), create_video_bitmap(3), desktop_palette(3),
28 destroy_bitmap(3), enable_triple_buffer(3), fixcos(3), fixed(3), fix‐
29 mul(3), fixsin(3), fixtoi(3), font(3), gfx_capabilities(3),
30 install_keyboard(3), install_mouse(3), install_timer(3), itofix(3),
31 keypressed(3), poll_scroll(3), release_bitmap(3), request_video_bit‐
32 map(3), screen(3), set_gfx_mode(3), set_palette(3), textout_ex(3), tri‐
33 angle(3), ustrzcpy(3)
34
35
36
37Allegro version 4.2.3 ex3buf(3)