ex3buf

Section: Allegro manual (3)
Updated: version 4.2.2
Index Return to Main Contents
 

NAME

ex3buf - Mode-X triple buffering and retrace interrupt simulation. Allegro game programming library.  

SYNOPSIS

#include <allegro.h>

Example ex3buf  

DESCRIPTION

This program demonstrates the use of triple buffering. Several triangles are displayed rotating and bouncing on the screen until you press a key. Note that on some platforms you can't get real hardware triple buffering. The Allegro code remains the same, but most likely the graphic driver will emulate it. Unfortunately, in these cases you can't expect the animation to be completely smooth and flicker free.

 

SEE ALSO

BITMAP(3), END_OF_MAIN(3), SCREEN_H(3), SCREEN_W(3), acquire_bitmap(3), allegro_error(3), allegro_init(3), allegro_message(3), clear_bitmap(3), clear_keybuf(3), create_video_bitmap(3), desktop_palette(3), destroy_bitmap(3), enable_triple_buffer(3), fixcos(3), fixed(3), fixmul(3), fixsin(3), fixtoi(3), font(3), gfx_capabilities(3), install_keyboard(3), install_mouse(3), install_timer(3), itofix(3), keypressed(3), poll_scroll(3), release_bitmap(3), request_video_bitmap(3), screen(3), set_gfx_mode(3), set_palette(3), textout_ex(3), triangle(3), ustrzcpy(3)