Mail Archives: djgpp/1993/07/12/10:00:05
Does anyone know of a way to do page swapping for flicker free
animation effects with libgrx? Basically I would like to be able
to draw to a context without it being seen and I can't seem to figure
out if this is supported by reading the documentation. Preferably the
solution will not involve GrBitBlt as this would slow things down
quite a bit.
For example, I believe it should work like this:
/* Always show front buffer */
set_frontbuffer(TRUE);
set_backbuffer(FALSE);
loop {
clear backbuffer();
draw_to_backbuffer();
swap_front_and_back();
}
***********************************************************************
* Joe Clark | Internet : joe AT ziggy DOT larc DOT nasa DOT gov *
* NASA Langley Research Center | *
* MS 152E | Phone : 804-864-6655 *
* Hampton, VA 23665 | FAX : 804-864-7793 *
***********************************************************************
- Raw text -