commit | 78be65e7bf6898c6afa55c9016f331ab1aa2503a | [log] [tgz] |
---|---|---|
author | Michael Lentine <mlentine@google.com> | Thu Oct 02 12:10:07 2014 -0700 |
committer | Michael Lentine <mlentine@google.com> | Thu Oct 09 10:26:37 2014 -0700 |
tree | 6d28426f9d0212cc01c688ac26c9166abb4551ad | |
parent | b7702c5ce7f010fa5f19646fd79f28ff04e7014b [diff] |
Adding eglInitialize and eglTerminate image creation and deletion. Previously it was possible to have the driver's eglTerminate called beofre eglDestroyImageKHR in GLConsumer. This was because we didn't increment the refcount for the lifetime of the image. This could lead to a crash or a deadlock when multiple threads called terminate and destroy simultaneously. Bug: 17700483 Change-Id: I7010d0f1b3db875332e95630b5e098a5564ba755