replicant-frameworks_native/services/surfaceflinger/DisplayHardware
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
..
FramebufferSurface.cpp we now correctly set-up connected screens during boot 2012-09-20 17:13:58 -07:00
FramebufferSurface.h we now correctly set-up connected screens during boot 2012-09-20 17:13:58 -07:00
GraphicBufferAlloc.cpp GraphicBufferAlloc class was declared twice 2012-09-20 17:13:58 -07:00
GraphicBufferAlloc.h GraphicBufferAlloc class was declared twice 2012-09-20 17:13:58 -07:00
HWComposer.cpp Fix crashes after HDMI disconnect 2012-10-04 02:02:23 -07:00
HWComposer.h Fix crashes after HDMI disconnect 2012-10-04 02:02:23 -07:00
PowerHAL.cpp don't actuate vsync hint when not needed 2012-04-27 13:55:05 -07:00
PowerHAL.h don't actuate vsync hint when not needed 2012-04-27 13:55:05 -07:00