Re: XForms: flickering images

Andrew McCready (mccready@andrew.cmu.edu)
Sun, 18 Apr 1999 23:04:07 -0400 (EDT)

# To subscribers of the xforms list from Andrew McCready <mccready@andrew.cmu.edu> :

On Sun, 18 Apr 1999, Steve Lamont wrote:

> > How do I turn double buffering on for a pixmap or canvas? Or are you
> > talking about a glcanvas? I thought using Mesa would be a little too much
> > overhead for displaying a simple 2d image (or series of images).
>
> A Pixmap object may be double buffered by calling the function
> fl_set_object_dblbuffer().

Ok, so how do I write to each buffer and how do I tell it to flip buffers?
(aka glXSwapBuffers in Mesa/OpenGL)

> In a Canvas object you need to handle all buffering yourself, either
> by one of the Xlib functions, such as XCopyArea(), or indirectly through
> an API such as Mesa3D.

Is this also true of canvas's if I'm using the 'background_pixmap'
attribute to display the image (as you suggested a few days ago).

_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuhs.mil or see
http://bob.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuhs.mil/mailserv/list-archives/