replicant-frameworks_native/libs/gui
Jamie Gennis 9aa74dbc70 SurfaceTexture: fix a memory leak
This change fixes an issue where we were sometimes setting the SurfaceTexture's
EGLDisplay to EGL_NO_DISPLAY in detachFromContext, and then subsequently
abandoning the texture.  Abandoning while in the detached state would result in
the eglDestroyImageKHR calls failing, which resulted in a memory leak.

Bug: 6302694
Change-Id: I24c1de0dac029a83c7508075fb8aaeaed96a14ea
2012-04-17 15:53:31 -07:00
..
tests SurfaceTexture: shrink all sides when cropping 2012-04-16 20:33:54 -07:00
Android.mk Added a DummyConsumer for use with BufferQueue. 2012-03-26 15:29:35 -07:00
BitTube.cpp use a socketpair instead of a pipe in BitTube 2012-04-02 18:41:10 -07:00
BufferQueue.cpp BufferQueue: check before tracing buffer index 2012-04-16 20:36:25 -07:00
DisplayEventReceiver.cpp use a socketpair instead of a pipe in BitTube 2012-04-02 18:41:10 -07:00
DummyConsumer.cpp Refactored DummyConsumer 2012-03-27 16:47:12 -07:00
IDisplayEventConnection.cpp Improve the VSYNC api a bit. 2011-12-06 22:43:10 -08:00
IGraphicBufferAlloc.cpp fix libgui header location 2012-02-27 13:03:08 -08:00
ISensorEventConnection.cpp Rename SensorChannel to BitTube 2011-10-20 18:42:02 -07:00
ISensorServer.cpp new SensorService 2010-07-19 17:57:29 -07:00
ISurface.cpp fix libgui header location 2012-02-27 13:03:08 -08:00
ISurfaceComposer.cpp fix libgui header location 2012-02-27 13:03:08 -08:00
ISurfaceComposerClient.cpp fix libgui header location 2012-02-27 13:03:08 -08:00
ISurfaceTexture.cpp use in/out structures for queueBuffer() IPC 2012-04-10 21:04:12 -07:00
LayerState.cpp fix libgui header location 2012-02-27 13:03:08 -08:00
Sensor.cpp 9-axis sensor fusion with Kalman filter 2011-05-27 17:04:55 -07:00
SensorEventQueue.cpp use a socketpair instead of a pipe in BitTube 2012-04-02 18:41:10 -07:00
SensorManager.cpp Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE 2012-01-08 13:19:13 +00:00
Surface.cpp remove dependency of EGL on ndk header 2012-03-23 14:15:44 -07:00
SurfaceComposerClient.cpp fix libgui header location 2012-02-27 13:03:08 -08:00
SurfaceTexture.cpp SurfaceTexture: fix a memory leak 2012-04-17 15:53:31 -07:00
SurfaceTextureClient.cpp s/w rendered apps can now use n-buffering (n>2) 2012-04-13 16:04:44 -07:00