diff options
author | Chia-I Wu <olvaffe@gmail.com> | 2009-08-03 11:35:14 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-08-03 11:35:14 -0600 |
commit | 8cdc6c66f9d8ede00d02108070d269d3aca8b130 (patch) | |
tree | ae673cec2416ff8e8d12e98c56d55b136536b0f9 /src/xvmc | |
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 <olvaffe@gmail.com>
Diffstat (limited to 'src/xvmc')
0 files changed, 0 insertions, 0 deletions