Is it possible to hack GTK to render to OpenGL texture -


i'm writing opengl game, , want native looking gui elements. wondering if has hacked gtk+ using gtkoffscreenwindow , gtk_offscreen_window_get_pixbuf render opengl texture, , whether have reasonable performance, considering repeated re-uploading of texture data every time gui updated

while possible, i'd instead use real opengl widget toolkit clutter. if want render gtk+ opengl, i'd start creating new gdk backend (x11/opengl or that), (re-)implements gdk drawing functions using opengl. nice side effect be, gtk+ windows allow ordinary opengl rendering, too, i.e. no more need gtkglwidget class.


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -