commit | 9f24fd020e387d57cb05d58f26985baa44571b85 | [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 | bb6ca3f773476a6f6c2785891b3e4f03c34fcaba | |
parent | c2d9862c859eb61afccf93ba2824136b6bb7a987 [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