logo
Free, Micro AI Code Reviews That Run on Git Commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt

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

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.

Name

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

See Also

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

Allegro                                           version 4.4.3                                  ex3buf(3alleg4)

Synopsis

#include<allegro.h>Exampleex3buf

See Also