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 Banish DisplayID from the SurfaceFlinger API. 2012-08-27 14:40:17 -07:00
Android.mk GraphicBufferAlloc class was declared twice 2012-09-20 17:13:58 -07:00
Barrier.h
Client.cpp Eradicate DisplayID. 2012-08-27 17:43:43 -07:00
Client.h Banish DisplayID from the SurfaceFlinger API. 2012-08-27 14:40:17 -07:00
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 Eradicate DisplayID. 2012-08-27 17:43:43 -07:00
LayerDim.h Eradicate DisplayID. 2012-08-27 17:43:43 -07:00
LayerScreenshot.cpp Eradicate DisplayID. 2012-08-27 17:43:43 -07:00
LayerScreenshot.h Eradicate DisplayID. 2012-08-27 17:43:43 -07:00
MODULE_LICENSE_APACHE2
MessageQueue.cpp one more step towards multiple display support 2012-07-10 14:29:27 -07:00
MessageQueue.h one more step towards multiple display support 2012-07-10 14:29:27 -07:00
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 update the binder protocol for connect to match that of queueBuffer 2012-04-23 20:06:02 -07:00
SurfaceTextureLayer.h update the binder protocol for connect to match that of queueBuffer 2012-04-23 20:06:02 -07:00
Transform.cpp Ensure that viewport and frame are initialized. 2012-09-09 00:07:17 -07:00
Transform.h SurfaceFlinger: SCALING_MODE_FREEZE cropping support 2012-05-09 12:53:13 -07:00
clz.cpp
clz.h implement: "Add an ANativeWindow API for SurfaceFlinger to suggest an optimal buffer orientation" 2011-07-19 15:24:46 -07:00