Re: [GtkGLExt] What's the difference between GtkGlExt's own buffer-swapping and Gdk's ...



Hi Jack,

> What is the difference between GtkGlExt's front-back-buffer-swapping in
> double buffering mode, and Gdk's method by creating the GdkPixmap
> first, rendering an image to the pixmap, then copying the data in the
> pixmap to the widget->window?

GtkGLExt manipulates the OpenGL framebuffer. That is physically
separate from the backing store created by Gdk (in the form of a
GdkPixmap). The idea behind both is pretty much the same. OpenGL
switches the two buffers around at the start of each refresh cycle.
Gdk on the other hand draws everything on pixmap first to reduce
flickering.

Regards,

Alif.

-- 
"Heaven is the peaceful place on earth...New Zealand."
     -- Alif Wahid.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]