[SDL] Proper way to move OpenGL context between threads?
Daniel Bünzli
daniel.buenzli at epfl.ch
Sat Jun 3 15:38:59 PDT 2006
Le 2 juin 06 à 19:42, Sam Lantinga a écrit :
>> 1) Safely expose the OpenGL context switching calls directly so I
>> don't
>> have to "go big" and call SetVideoMode() redundantly.
>
> This is the approach that will be taken in SDL 1.3. Until then,
> you'll
> have to modify your version of SDL to do the same thing. Feel free to
> post a patch, if you think other people might benefit.
Will these limitations (that I see on osx) also be lifted in 1.3 ?
o Inability to share resources (textures, shaders, vbo's, etc)
between contexts
(e.g. for seamless fullscreen/windowed mode toogle)
o Inability to resize a window without losing resources
(current behaviour makes resizable windows unusable with OpenGL).
Regards,
Daniel
More information about the SDL
mailing list