best way to handle expose events with GL canvases

Trent Piepho (
Mon, 3 Feb 1997 08:25:03 -0800 (PST)

To subscribers of the xforms list from Trent Piepho <> :

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 ( -- Metallica |
To unsubscribe, send the message "unsubscribe" to or see
Xforms Home Page:
List Archive: