aglShareLists()?
Hi,
Yesterday I searched for aglShareLists(), the equivalent of wglShareLists() on Win32's WGL, and Unix' glXCreateContext(...,shareContext). I couldn't find it however.
I did think I saw this function in an earlier Mac OSX?!
Anyway, what I'm trying to do is share the texture space between 2 contexts; I need that for my apps to work correctly over multiple platforms (Unix-GLX/Win32/Mac). Is there anything I can do to share textures over 2 OpenGL contexts?
BTW My 10.2.3 OpenGL framework is version 1.2.1; the gl.h file though include defines for upto OpenGL1.4. Is it safe to use OpenGL1.4 functions then?
Thanks.
Yesterday I searched for aglShareLists(), the equivalent of wglShareLists() on Win32's WGL, and Unix' glXCreateContext(...,shareContext). I couldn't find it however.
I did think I saw this function in an earlier Mac OSX?!
Anyway, what I'm trying to do is share the texture space between 2 contexts; I need that for my apps to work correctly over multiple platforms (Unix-GLX/Win32/Mac). Is there anything I can do to share textures over 2 OpenGL contexts?
BTW My 10.2.3 OpenGL framework is version 1.2.1; the gl.h file though include defines for upto OpenGL1.4. Is it safe to use OpenGL1.4 functions then?
Thanks.
you can pass the first context to the second when calling
AGLContext aglCreateContext(AGLPixelFormat pix, AGLContext share);
AGLContext aglCreateContext(AGLPixelFormat pix, AGLContext share);

