Re: [GtkGLExt] What's the difference between GtkGlExt's own buffer-swapping and Gdk's ...
- From: Jack Chen <jacks_small_world yahoo com>
- To: Alif Wahid <alif wahid gmail 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 10:55:27 -0400 (EDT)
--- Alif Wahid <alif wahid gmail com> wrote:
> 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.
>
Hi, Alif, thank you.
So which method is faster?
Jack
______________________________________________________________________
Post your free ad now! http://personals.yahoo.ca
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]