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

Re: GTK+ & OpenGL



On Fri, Dec 19, 2003 at 11:11:02PM -0600, Randall Hopper wrote:
> Abhir Joshi:
>  |GTK+ cannot (???) be used with OpenGL.  Can anyone explain why?  I
>  |have given it some thought but could not arrive at any possible
>  |explanation since I an not aware of the internals of X.  
>  |
>  |But I can say that if GTK widgets have to be rendered on OpenGL
>  |surfaces, all the OpenGL transformations have to be bypassed while
>  |drawing those widgets.  So I guess without support from X, this should
>  |be impossible.
> 
> Search for gtkglarea.  
> 
> That doesn't mean rendering the widgets in an OpenGL window.
> 

gtkglarea was used with gtk+ 1.2, but is now obsolete and unmaintained.
gtkglext does a similar job for gtk+ 2 and later.

Al
-- 
Alistair Riddoch
alriddoch@zepler.org
http://www.zepler.org/~alriddoch/

Attachment: pgp00000.pgp
Description: PGP signature