replicant-frameworks_native/libs/gui
Mathias Agopian 8e19c2e97e fix a crasher in SurfaceTexture::updateTexImage()
we now make sure to drain the buffer queue on disconnect.
this happens only when in synchrnous mode. in async mode
we clear all buffers except the head of the queue.

for extra safety we also catch the null pointer
in updateTexImage (which should  never happen) and return
an error.

Bug: 5111008

Change-Id: I5174a6ecbb0de641c6510ef56a611cbb4e9e1f59
2011-08-10 17:35:52 -07:00
..
tests Merge "SurfaceTexture: enable RGB external textures" 2011-07-25 11:46:51 -07:00
Android.mk Remove the simulator target from all makefiles. 2011-07-11 22:12:16 -07:00
IGraphicBufferAlloc.cpp return an error code with gralloc buffer allocation failures 2011-07-01 14:53:49 -07:00
ISensorEventConnection.cpp
ISensorServer.cpp
ISurface.cpp unify SurfaceTexture and Surface 2011-06-13 15:51:35 -07:00
ISurfaceComposer.cpp SF transactions are now O(1) wrt IPC instead of O(N). 2011-06-29 15:05:41 -07:00
ISurfaceComposerClient.cpp clean-up. get rid ofunused code and members in Surface[Control].cpp 2011-07-20 16:53:13 -07:00
ISurfaceTexture.cpp return correct value from query after connecting a surface 2011-08-08 20:25:44 -07:00
LayerState.cpp SF transactions are now O(1) wrt IPC instead of O(N). 2011-06-29 15:05:41 -07:00
Sensor.cpp 9-axis sensor fusion with Kalman filter 2011-05-27 17:04:55 -07:00
SensorChannel.cpp
SensorEventQueue.cpp Fix typo which causes sensors to fail miserably 2010-09-16 21:41:13 -07:00
SensorManager.cpp
Surface.cpp Add support for creating a Surface from a a SurfaceTexture. 2011-07-22 16:36:44 -07:00
SurfaceComposerClient.cpp clean-up. get rid ofunused code and members in Surface[Control].cpp 2011-07-20 16:53:13 -07:00
SurfaceTexture.cpp fix a crasher in SurfaceTexture::updateTexImage() 2011-08-10 17:35:52 -07:00
SurfaceTextureClient.cpp return correct value from query after connecting a surface 2011-08-08 20:25:44 -07:00