| Summary: | EGL Bind API is Per Thread | ||
|---|---|---|---|
| Product: | SDL | Reporter: | x414e54 |
| Component: | video | Assignee: | Ryan C. Gordon <icculus> |
| Status: | ASSIGNED --- | QA Contact: | Sam Lantinga <slouken> |
| Severity: | major | ||
| Priority: | P2 | ||
| Version: | HG 2.1 | ||
| Hardware: | All | ||
| OS: | All | ||
| Attachments: |
EGL Threaded API Patch
EGL Threaded API Patch |
||
|
Description
x414e54
2015-04-09 12:06:45 UTC
Created attachment 2116 [details]
EGL Threaded API Patch
I have created a quick patch to bind the API per thread.
It compiles but I have not tested it fully yet.
Currently it uses eglQueryAPI but if you would like it not to call down to egl even though this is probably not an expensive call then it would need to use TLS.
Created attachment 2117 [details]
EGL Threaded API Patch
Updated to bind the correct api for OpenGL.
Ryan, this seems reasonable offhand. Is this something we want to add? |