summaryrefslogtreecommitdiffstats
path: root/opengl/java
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2012-01-30 18:20:52 -0800
committerMathias Agopian <mathias@google.com>2012-01-30 18:20:52 -0800
commit9eb95992ea34e40e83d78f5c211933246c491f0f (patch)
tree143b53dda12df1581b22961db813aefb5149788c /opengl/java
parent11c5db5e29f9e4ac4cdb0bb49197b48deb657e36 (diff)
downloadframeworks_base-9eb95992ea34e40e83d78f5c211933246c491f0f.zip
frameworks_base-9eb95992ea34e40e83d78f5c211933246c491f0f.tar.gz
frameworks_base-9eb95992ea34e40e83d78f5c211933246c491f0f.tar.bz2
fix a race condition in eglMakeCurrent()
it would happen when a context was made non-current, in this case we would call the implementation's eglMakeCurrent() which would succeed, if we're rescheduled at that point, another eglMakeCurrent() could make that context current to another thread, however, when we came back to the original call we would overwrite egl_context_t internal state. this is fixed by moving the critical section under egl_display_t's lock. Change-Id: I743c85696e13263d3a9570824940263df0caacdc
Diffstat (limited to 'opengl/java')
0 files changed, 0 insertions, 0 deletions