diff options
author | Chia-I Wu <[email protected]> | 2009-08-03 11:35:14 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-08-03 11:35:14 -0600 |
commit | 8cdc6c66f9d8ede00d02108070d269d3aca8b130 (patch) | |
tree | ae673cec2416ff8e8d12e98c56d55b136536b0f9 /src/glx/x11/dri2_glx.c | |
parent | 07ee01365a8bddf6f50821ecd585784498a25ff0 (diff) |
egl: Make eglMakeCurrent more robust.
Now that a current surface points back to its binding context, and a
current context points back to its binding thread, make sure there is no
dangling pointers. This commit reworks eglMakeCurrent, adds more checks
to avoid stealing context or surfaces from another thread, and correctly
destroys unlinked context and surfaces.
Signed-off-by: Chia-I Wu <[email protected]>
Diffstat (limited to 'src/glx/x11/dri2_glx.c')
0 files changed, 0 insertions, 0 deletions