replicant-frameworks_native/services/surfaceflinger
Andy McFadden 9e9689c111 Fix HDMI unblank behavior
Two issues:

(1) We were announcing the hotplug event before we were ready to
handle blank/unblank events, so we were losing the initial unblank
that power manager sends us when HDMI is first plugged in.  This
left the display blank until you toggled the device power off/on.

(2) We were retaining fbTargetHandle for HDMI after the display was
disconnected.  The value didn't get updated when HDMI was reconnected
because the display was blank, so we didn't go through that code
path.  So, when HDMI was re-connected, we passed stale data into
the HWC.

Bug 7323938

Change-Id: I2335d24fd7b0f00bb23fc63aa7bcf44cb8857c73
2012-10-10 18:17:51 -07:00
..
DisplayHardware Fix HDMI unblank behavior 2012-10-10 18:17:51 -07:00
tests Banish DisplayID from the SurfaceFlinger API. 2012-08-27 14:40:17 -07:00
Android.mk fix SurfaceFlinger DDMS debugging 2012-10-07 16:41:12 -07:00
Barrier.h move native services under services/ 2010-07-22 15:28:19 -07:00
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
clz.cpp move native services under services/ 2010-07-22 15:28:19 -07:00
clz.h implement: "Add an ANativeWindow API for SurfaceFlinger to suggest an optimal buffer orientation" 2011-07-19 15:24:46 -07:00
DdmConnection.cpp fix SurfaceFlinger DDMS debugging 2012-10-07 16:41:12 -07:00
DdmConnection.h add libsurfaceflinger_ddmconnection for PDK build 2012-08-31 20:08:33 -07:00
DisplayDevice.cpp fix typo that prevented proper loging of EGL error code 2012-10-09 16:44:48 -07:00
DisplayDevice.h reset GL viewport and project when caputring the screen 2012-09-28 13:34:26 -07:00
EventThread.cpp make sure we don't call into the HWC HAL when not needed 2012-10-04 15:25:32 -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 add support for [1974164] Be able to take a screen shot on the device 2010-09-24 14:56:39 -07:00
GLExtensions.h add support for [1974164] Be able to take a screen shot on the device 2010-09-24 14:56:39 -07:00
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
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
MODULE_LICENSE_APACHE2 move native services under services/ 2010-07-22 15:28:19 -07:00
SurfaceFlinger.cpp Fix HDMI unblank behavior 2012-10-10 18:17:51 -07:00
SurfaceFlinger.h fix dumpsys Layer name when using multiple displays 2012-10-08 15:57:17 -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