PSA: GLX is not thread safe, even if you use XLockDisplay()/XUnlockDisplay(). Xlib-XCB does not fix this. First Google result on this is a wrong Stack Overflow answer. GLX uses lots of per-process (not per-display) globals. You must use a process-wide lock around each GLX call.
-
-
I wouldn't know when i'd need texture from pixmap, is that to upload textures from system ram? Or something more specific.
-
It's for sharing textures across threads/processes. Support for that is the main reason why I'm writing a glutin replacement right now.
- 15 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.