GdkOffscreenWindow and texture_from_pixmap extension



Hello everyone.

I want to do some OpenGL widget compositing using GtkGLExt and
GdkOffscreenWindow.

I implemented a offscreen widget as the ones in gtk-demo to be able to
use the offscreen GdkPixmap as the source for a texture.


But I am having some problems while trying to bind the GdkPixmap to the texture

So does anyone know how to ge a Pixmap, as returned by
XcompositeNameWindowPixmap(), from a GdkOffscreenWindow in order to
use it in glxCreatePixmap()?


thanks


Juan Pablo



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