commit | 7b864906e5c9c9cd13325c213d0472b9b9fb1697 | [log] [tgz] |
---|---|---|
author | Mathias Agopian <mathias@google.com> | Fri Feb 03 15:24:51 2012 -0800 |
committer | Mathias Agopian <mathias@google.com> | Fri Feb 03 15:24:51 2012 -0800 |
tree | 2700a00e4ae2c4a36a90e1130edd6c1d5dd48ccb | |
parent | 8d13ef3c59f3087df29a226f3cdc155faa4ac903 [diff] |
fix a dead-lock in eglMakeCurrent this was introduced in a recent change. eglMakeCurrent can end up calling eglDestroyImageKHR via ANativewWindow::disconnect when the consumer is in the same process. we make sure we don't hold the lock while this is happening. Change-Id: Id17fe4fd76eecf5f962cefb9aa32be41fc1b042d