best way to handle expose events with GL canvases

Trent Piepho (xyzzy@u.washington.edu)
Mon, 3 Feb 1997 08:25:03 -0800 (PST)

To subscribers of the xforms list from Trent Piepho <xyzzy@u.washington.edu> :

I've got a program that uses server gl canvases, and redrawing them for each
expose event is rather slow. What is the best way to avoid re-rendering the
canvases? Should I draw into a pixmap and make it the background pixmap? Is
there some double buffering thing I can use?

Also, is there any way to use data from different gl canvases together?
I'd like to add two canvases up in the accumulation buffer, but it seems
like each canvas is totally seperate as far as gl is concerned.

|Gazing up to the breeze of the heavens \ on a quest, meaning, reason |
|came to be, how it begun \ all alone in the family of the sun |
|curiosity teasing everyone \ on our home, third stone from the sun. |
|Trent Piepho (xyzzy@u.washington.edu) -- Metallica |
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
Xforms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/xforms-archive/