Thanks for the reply.

However, I'm using a lot of vertex buffer objects that also needs to be shared 
between the different widgets, and I'm not quite sure they are shared through 
the use of a share list? According to the GLX specification display lists and 
texture objects are shared, but there's no mention of VBOs. Are they shared as 
well?

/Staffan

On Nov 10, 2010, at 8:26 PM, Jose Commins wrote:

> This post should solve your problems:
> 
> http://mail.gnome.org/archives/gtkglext-list/2005-January/msg00012.html
> 
> Regards,
>        Jose.
> 
> On 10/11/2010 12:00, Staffan Gimaker wrote:
>> Hi,
>> 
>> What's the recommended way to create a *single* OpenGL context that can
>> be used for multiple widgets (in the same window)?
>> 
>> My current approach creates a context for the main window, containing
>> all the GL-capable widgets, and uses that context for all the widgets.
>> It works for my Linux box but messes up redrawing in XQuartz, and there
>> are mysterious crashes on other machines that I suspect are related to
>> this.
>> 
>> /Staffan
>> 
> _______________________________________________
> gtkglext-list mailing list
> [email protected]
> http://mail.gnome.org/mailman/listinfo/gtkglext-list

_______________________________________________
gtkglext-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkglext-list

Reply via email to