Re: [GtkGLExt] What's the difference between GtkGlExt's own buffer-swapping and Gdk's ...
- From: Alif Wahid <alif wahid gmail com>
- To: Jack Chen <jacks_small_world yahoo com>
- Cc: gtkglext-list gnome org
- Subject: Re: [GtkGLExt] What's the difference between GtkGlExt's own buffer-swapping and Gdk's ...
- Date: Sat, 11 Sep 2004 23:09:57 +1200
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]