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
EventLog
RenderEngine Build fix for size_t on 64bit. 2014-07-30 16:42:12 -07:00
tests
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
DdmConnection.cpp Remove dependencies on runtime_libdvm and libdvm.so in general 2014-05-29 09:39:26 -07:00
DdmConnection.h
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
EventControlThread.h
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
LayerDim.h
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
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
Transform.h