replicant-frameworks_native/services/surfaceflinger
Andy McFadden 27ec5739bc Fix crashes after HDMI disconnect
The display was being removed from SurfaceFlinger's list before we
had a chance to reset HWComposer's layer list, so we were passing
stale data into the hardware composer (which has its own per-display
data).  This resulted in "invalid gralloc handle" complaints.
We now clear the layer list immediately after removing the display.

The display was being removed while its EGLSurface was still
"current", resulting in "cancelBuffer: BufferQueue has been
abandoned" complaints.  We now call makeCurrent on the primary
display before removing the external display.

Bug 7274254

Change-Id: Ia59e3a61d7ec46488b96bf93ec5e4ed3488b70e4
2012-10-04 02:02:23 -07:00
..
DisplayHardware Fix crashes after HDMI disconnect 2012-10-04 02:02:23 -07:00
tests
Android.mk GraphicBufferAlloc class was declared twice 2012-09-20 17:13:58 -07:00
Barrier.h
Client.cpp
Client.h
clz.cpp
clz.h
DdmConnection.cpp add libsurfaceflinger_ddmconnection for PDK build 2012-08-31 20:08:33 -07:00
DdmConnection.h add libsurfaceflinger_ddmconnection for PDK build 2012-08-31 20:08:33 -07:00
DisplayDevice.cpp save/restore viewport properly when taking screenshot 2012-09-30 16:43:20 -07:00
DisplayDevice.h reset GL viewport and project when caputring the screen 2012-09-28 13:34:26 -07:00
EventThread.cpp Display events now always carry the display id they happened on 2012-09-21 14:20:35 -07:00
EventThread.h Display events now always carry the display id they happened on 2012-09-21 14:20:35 -07:00
GLExtensions.cpp
GLExtensions.h
Layer.cpp Recompute visible regions more vigorously 2012-09-26 16:19:12 -07:00
Layer.h add support hwc 1.1 2012-09-17 18:57:53 -07:00
LayerBase.cpp Stop using transparent region for computing visible regions 2012-09-26 14:41:51 -07:00
LayerBase.h Stop using transparent region for computing visible regions 2012-09-26 14:41:51 -07:00
LayerDim.cpp
LayerDim.h
LayerScreenshot.cpp
LayerScreenshot.h
MessageQueue.cpp
MessageQueue.h
MODULE_LICENSE_APACHE2
SurfaceFlinger.cpp Fix crashes after HDMI disconnect 2012-10-04 02:02:23 -07:00
SurfaceFlinger.h Pass display arg to blank/unblank 2012-09-28 13:04:16 -07:00
SurfaceTextureLayer.cpp
SurfaceTextureLayer.h
Transform.cpp Ensure that viewport and frame are initialized. 2012-09-09 00:07:17 -07:00
Transform.h