Andreas Micheler wrote:
> Hallo Mesa Developers,
> 
> I'm trying to make run a little test program with Mesa.
> It runs smoothly with the Windows OpenGL system driver.
> 
> But I have problems implementing wglShareLists,
> because I don't know much about the inner structures of Mesa.
> 
> I saw there is already a function _mesa_share_state.
> But if I call it from wglShareLists, I get crashes when resizing my window.

I hacked the Xlib driver to use _mesa_share_state() and it seems to work 
fine.  I can't test on Windows.  Where exactly is the crash?  Can you 
provide a stack trace?


> Which structures must be safe-guarded with Mutexes to make it more stable?

Mutexes are only needed when using GL from multiple threads, and Mesa 
has the mutexes needed for that, though, I don't know if anyone has 
excercised that on Windows.  Is your app threaded?

-Brian

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to