.\" Generated by the Allegro makedoc utility .TH exupdate 3 "version 4.2.2" "Allegro" "Allegro manual" .SH NAME exupdate \- Supporting different screen update methods in a single program. Allegro game programming library.\& .SH SYNOPSIS .B #include .sp .B Example exupdate .SH DESCRIPTION This program demonstrates how to support double buffering, page flipping, and triple buffering as options within a single program, and how to make things run at a constant rate no matter what the speed of your computer. You have to use this example from the command line to specify as first parameter a number which represents the type of video update you want: 1 for double buffering with memory bitmaps, 2 for page flipping, 3 for triple buffering and 4 for double buffering with system bitmaps. After this, a dialog allows you to select a screen resolution and finally you will see a kaleidoscopic animation, along with a frames per second counter on the top left of the screen. .SH SEE ALSO .BR BITMAP (3), .BR END_OF_FUNCTION (3), .BR END_OF_MAIN (3), .BR LOCK_FUNCTION (3), .BR LOCK_VARIABLE (3), .BR PALETTE (3), .BR SCREEN_H (3), .BR SCREEN_W (3), .BR acquire_bitmap (3), .BR allegro_error (3), .BR allegro_init (3), .BR allegro_message (3), .BR bitmap_color_depth (3), .BR blit (3), .BR clear_bitmap (3), .BR create_bitmap (3), .BR create_system_bitmap (3), .BR create_video_bitmap (3), .BR desktop_palette (3), .BR destroy_bitmap (3), .BR enable_triple_buffer (3), .BR fixcos (3), .BR fixed (3), .BR fixmul (3), .BR fixsin (3), .BR fixtoi (3), .BR font (3), .BR ftofix (3), .BR generate_332_palette (3), .BR gfx_capabilities (3), .BR gfx_mode_select_ex (3), .BR install_int_ex (3), .BR install_keyboard (3), .BR install_mouse (3), .BR install_timer (3), .BR keypressed (3), .BR line (3), .BR makecol (3), .BR poll_scroll (3), .BR release_bitmap (3), .BR request_video_bitmap (3), .BR screen (3), .BR set_color_depth (3), .BR set_gfx_mode (3), .BR set_palette (3), .BR show_video_bitmap (3), .BR textout_ex (3), .BR textprintf_ex (3), .BR triangle (3), .BR vsync (3), .BR xor_mode (3)