replicant-frameworks_native/services/surfaceflinger
Naseer Ahmed 949ea0868d sf: Clear display configs when hot pluggable display is disconnected
Display configs for external displays are stored in the framework
everytime we receive a hot plug to connect. However, since the
configs are not cleared on disconnect, framework will just assume
that the configs are valid. This does not work for use cases when
you connect/disconnect external displays with different resolutions.

e.g. 1080p to 4K and vice-versa

With this change we clear the display configs and repopulate when
we receive a hot plug to connect.

Change-Id: I2eeab186a8d8668a53390a2413b2ce5e044a1845
Acked-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
2014-08-20 15:10:14 -07:00
..
DisplayHardware sf: Clear display configs when hot pluggable display is disconnected 2014-08-20 15:10:14 -07:00
Effects Don't simulate color space after correction 2014-03-10 12:43:49 -07:00
EventLog surfaceflinger: add frame duration logging 2013-07-23 17:28:47 -07:00
RenderEngine Build fix for size_t on 64bit. 2014-07-30 16:42:12 -07:00
tests Surface can now be created only from an IGraphicBufferProducer 2013-03-12 18:45:09 -07:00
Android.mk Add error for format and make sure setActiveConfig fails with an invalid mode. 2014-07-30 14:36:25 -07:00
Barrier.h Improve memory coherence management in screenshot code [DO NOT MERGE] 2014-07-14 19:29:09 +00:00
Client.cpp Adding render stats APIs to UiAutomation (framework native). 2014-04-10 12:32:19 -07:00
Client.h Adding render stats APIs to UiAutomation (framework native). 2014-04-10 12:32:19 -07:00
clz.h
Colorizer.h Add a --color option to dumpsys SurfaceFlinger 2013-04-22 21:51:28 +02:00
DdmConnection.cpp Remove dependencies on runtime_libdvm and libdvm.so in general 2014-05-29 09:39:26 -07:00
DdmConnection.h add libsurfaceflinger_ddmconnection for PDK build 2012-08-31 20:08:33 -07:00
DisplayDevice.cpp am 514e30a9: am c3d1889e: Merge "surfaceflinger: skip composition for empty frames" into klp-modular-dev 2014-08-20 20:02:02 +00:00
DisplayDevice.h am 514e30a9: am c3d1889e: Merge "surfaceflinger: skip composition for empty frames" into klp-modular-dev 2014-08-20 20:02:02 +00:00
DispSync.cpp Replace "lower power mode" experiment 2014-06-11 10:19:08 -07:00
DispSync.h Replace "lower power mode" experiment 2014-06-11 10:19:08 -07:00
EventControlThread.cpp SurfaceFlinger: Add EventControlThread 2013-10-15 14:31:41 -07:00
EventControlThread.h SurfaceFlinger: Add EventControlThread 2013-10-15 14:31:41 -07:00
EventThread.cpp SurfaceFlinger: send VSYNC power hints to IPowerManager 2014-06-18 18:51:24 -07:00
EventThread.h SurfaceFlinger: send VSYNC power hints to IPowerManager 2014-06-18 18:51:24 -07:00
FrameTracker.cpp Adding render stats APIs to UiAutomation (framework native). 2014-04-10 12:32:19 -07:00
FrameTracker.h Adding render stats APIs to UiAutomation (framework native). 2014-04-10 12:32:19 -07:00
Layer.cpp Fix inverse orientation when original is not applied first. 2014-08-19 18:16:01 -07:00
Layer.h SurfaceFlinger: Prevent deadlock by updating an atomic layer set. 2014-07-30 19:05:38 -07:00
LayerDim.cpp Allow disabling layer rotation during screenshots 2014-02-14 23:10:42 +00:00
LayerDim.h Allow disabling layer rotation during screenshots 2014-02-14 23:10:42 +00:00
main_surfaceflinger.cpp DO NOT MERGE Add "dumpsys SurfaceFlinger --dispsync" 2014-05-09 10:49:11 -07:00
MessageQueue.cpp native frameworks: 64-bit compile issues 2014-03-12 13:12:44 -07:00
MessageQueue.h fix another bug where screenshots could end-up all black 2013-04-10 16:27:17 -07:00
MODULE_LICENSE_APACHE2
MonitoredProducer.cpp BufferQueue: Add allocateBuffers method 2014-06-20 13:13:57 -07:00
MonitoredProducer.h BufferQueue: Add allocateBuffers method 2014-06-20 13:13:57 -07:00
SurfaceFlinger.cpp am 514e30a9: am c3d1889e: Merge "surfaceflinger: skip composition for empty frames" into klp-modular-dev 2014-08-20 20:02:02 +00:00
SurfaceFlinger.h Have VirtualDisplays send SF resize messages when resizing 2014-07-30 11:23:44 -07:00
SurfaceFlingerConsumer.cpp Improve SurfaceFlinger PTS estimation 2014-05-02 10:56:54 -07:00
SurfaceFlingerConsumer.h GLConsumer: Stop using default constructor params 2014-06-24 13:09:19 -07:00
Transform.cpp color blindness enhancement 2013-09-04 22:11:15 -07:00
Transform.h color blindness enhancement 2013-09-04 22:11:15 -07:00