commit | 7de41f1bf73cc7fe2a193293873a6f418a735369 | [log] [tgz] |
---|---|---|
author | Jamie Gennis <jgennis@google.com> | Wed Aug 24 14:54:56 2011 -0700 |
committer | Jamie Gennis <jgennis@google.com> | Wed Aug 24 15:00:23 2011 -0700 |
tree | c52d791275fde7940cac2088a2ca44a6eab40f93 | |
parent | 7a12d6ba14a35276fd3afb314d6c95055da4c6f0 [diff] |
EGL: move disconnect to surface dtor This change moves the call to native_window_api_disconnect from eglDestroySurface to the egl_surface_t destructor. The egl_surface_t can outlive the external EGLSurface if eglDestroySurface is called while the surface is made current on a thread. Change-Id: I0df6117a5633c2a19935fe356579abdd76fc471f