Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

enable_triple_buffer(3alleg4) [plan9 man page]

enable_triple_buffer(3alleg4)					  Allegro manual				     enable_triple_buffer(3alleg4)

NAME
enable_triple_buffer - Enables triple buffering. Allegro game programming library. SYNOPSIS
#include <allegro.h> int enable_triple_buffer(); DESCRIPTION
If the GFX_CAN_TRIPLE_BUFFER bit of the gfx_capabilities field is not set, you can attempt to enable it by calling this function. In par- ticular if you are running in mode-X in a clean DOS environment, this routine will enable the timer retrace simulator, which will activate the triple buffering functions. RETURN VALUE
Returns zero if triple buffering is enabled, -1 otherwise. SEE ALSO
gfx_capabilities(3alleg4), request_scroll(3alleg4), request_video_bitmap(3alleg4), ex3buf(3alleg4), exupdate(3alleg4) Allegro version 4.4.2 enable_triple_buffer(3alleg4)

Check Out this Related Man Page

ex3buf(3alleg4) 						  Allegro manual						   ex3buf(3alleg4)

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(3alleg4), END_OF_MAIN(3alleg4), SCREEN_H(3alleg4), SCREEN_W(3alleg4), acquire_bitmap(3alleg4), allegro_error(3alleg4), alle- gro_init(3alleg4), allegro_message(3alleg4), clear_bitmap(3alleg4), clear_keybuf(3alleg4), create_video_bitmap(3alleg4), desktop_pal- ette(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.2 ex3buf(3alleg4)
Man Page

2 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Shopt -s histappend

What is the point of this? Whenever I close my shell it appends to the history file without adding this. I have never seen it overwrite my history file. # When the shell exits, append to the history file instead of overwriting it shopt -s histappend (3 Replies)
Discussion started by: cokedude
3 Replies

2. UNIX for Advanced & Expert Users

What's your most useful shell?

What's your most useful shell? /bin/sh /bin/csh /bin/ksh /bin/tcsh /bin/bash (249 Replies)
Discussion started by: zylwyz
249 Replies