Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
exupdate(3)			Allegro	manual			   exupdate(3)

NAME
       exupdate	 - Supporting different	screen update methods in a single pro-
       gram. Allegro game programming library.

SYNOPSIS
       #include	<allegro.h>

       Example exupdate

DESCRIPTION
       This program demonstrates how to	support	double buffering,  page	 flip-
       ping,  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 flip-
       ping, 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.

SEE ALSO
       BITMAP(3),    END_OF_FUNCTION(3),   END_OF_MAIN(3),   LOCK_FUNCTION(3),
       LOCK_VARIABLE(3), PALETTE(3),  SCREEN_H(3),  SCREEN_W(3),  acquire_bit-
       map(3),	allegro_error(3),  allegro_init(3),  allegro_message(3),  bit-
       map_color_depth(3), blit(3),  clear_bitmap(3),  create_bitmap(3),  cre-
       ate_system_bitmap(3),  create_video_bitmap(3),  desktop_palette(3), de-
       stroy_bitmap(3),	 enable_triple_buffer(3),  fixcos(3),  fixed(3),  fix-
       mul(3),	fixsin(3),  fixtoi(3),	font(3),  ftofix(3), generate_332_pal-
       ette(3),	gfx_capabilities(3), gfx_mode_select_ex(3), install_int_ex(3),
       install_keyboard(3), install_mouse(3), install_timer(3),	keypressed(3),
       line(3),	   makecol(3),	  poll_scroll(3),    release_bitmap(3),	   re-
       quest_video_bitmap(3),  screen(3), set_color_depth(3), set_gfx_mode(3),
       set_palette(3), show_video_bitmap(3), textout_ex(3),  textprintf_ex(3),
       triangle(3), vsync(3), xor_mode(3)

Allegro				 version 4.4.2			   exupdate(3)

NAME | SYNOPSIS | DESCRIPTION | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=exupdate&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help