replicant-frameworks_native/libs/gui
Mathias Agopian a36bcd53ac attempt to fix bug 5313580
the working theory here is that a Surface object has become non-promotable
because it lost its last reference; later Surface::readFromParcel is called
the previous surface is found in the cache, but can't be promoted. this causes
a new Surface object to be created which will promptly try to connect to the
CPU_API -- this in turn will fail because the previous (now dead) surface is
still connected.

To fix this, we make sure to disconnect from the SurfaceTexture when
Surface[TextureClient] is destroyed.

Change-Id: I422234868a05d7b7d283e9d5a85f7ab79e65d8a9
2011-11-17 18:46:09 -08:00
..
tests Define, document, and test the behavior of very large SurfaceTextures 2011-11-11 18:44:35 -08:00
Android.mk Revert "enable ALLOW_DEQUEUE_CURRENT_BUFFER for tegra devices" 2011-11-16 15:59:13 -08:00
IGraphicBufferAlloc.cpp
ISensorEventConnection.cpp
ISensorServer.cpp
ISurface.cpp
ISurfaceComposer.cpp
ISurfaceComposerClient.cpp
ISurfaceTexture.cpp
LayerState.cpp
Sensor.cpp
SensorChannel.cpp
SensorEventQueue.cpp
SensorManager.cpp
Surface.cpp
SurfaceComposerClient.cpp
SurfaceTexture.cpp Merge "Revert "enable ALLOW_DEQUEUE_CURRENT_BUFFER for tegra devices"" into ics-mr1 2011-11-16 16:13:38 -08:00
SurfaceTextureClient.cpp attempt to fix bug 5313580 2011-11-17 18:46:09 -08:00