Re: subwindow-less Gtk+ and offscreen windows

On Sat, 2008-08-02 at 21:35 +0200, Alexander Larsson wrote:
> * Some operations require an X window id, for example:
>    + glXMakeCurrent()
>       so that you can draw into a window with opengl.
>       You can still draw to the toplevel window, but you can't
>       have GdkOffscreenWindow automatically clip the opengl drawing
>       calls (i think).

Would it work if there were a new GL widget that took care of
glXMakeCurrent() using the toplevel X window and did glViewport()
internally using the widget's coordinates or something?

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