ex3buf - Man Page

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)

Referenced By

acquire_bitmap(3), create_video_bitmap(3), enable_triple_buffer(3), fixcos(3), fixed(3), fixmul(3), fixsin(3), fixtoi(3), gfx_capabilities(3), itofix(3), poll_scroll(3), release_bitmap(3), request_video_bitmap(3), _set_color(3), triangle(3), ustrzcpy(3).

version 4.4.3 Allegro manual