replicant-frameworks_native/services/surfaceflinger
Wang, Yue A c159da765b SurfaceFlinger: disable VSync thread if no clients requiring.
In EventThread, 2 VSYNCs are needed to do composition and update
the client status. So, a 30FPS video may leads to 60FPS VSYNC,
which means the DispSync thread would be waked 60FPS. This is a
unexpected behavior which takes more power consumption. Now we
update the SF status soon after the first VSYNC, which means no
extra VSYNC needed, and the DispSync could be awaked as expected,
and consequently power get saved.

Change-Id: If486eb9b87f109a71f71b510768f15dd733f1233
Orig-Change-Id: I1d3b166021e15a81b2ad770b039761fc2c15fddf
Tracked-On: https://jira01.devtools.intel.com/browse/IMINAN-12211
Category: aosp improvement
Domain: Graphics-SF
Origin: internal
Upstream-Candidate: yes
Signed-off-by: Wang, Yue A <yue.a.wang@intel.com>
Reviewed-on: https://android.intel.com:443/238344
2017-01-03 01:51:06 +01:00
..
DisplayHardware SF: Add support to draw S3D framebuffer target 2016-07-31 14:15:30 -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
ExSurfaceFlinger surfaceflinger: Access s3d flags only for valid display ID. 2016-08-13 01:31:13 -07:00
RenderEngine surfaceflinger: set a fitting EGL config for Mesa 2016-08-25 22:36:47 +02:00
tests SurfaceFlinger : Ensure position changes are drawn with correct buffer size 2016-05-12 10:07:24 -07:00
Android.mk surfaceflinger: Add support for Exynos HWC services 2016-08-18 10:41:58 -07:00
Barrier.h Improve memory coherence management in screenshot code [DO NOT MERGE] 2014-07-14 19:29:09 +00:00
CleanSpec.mk SurfaceFlinger : Ensure position changes are drawn with correct buffer size 2016-05-12 10:07:24 -07:00
Client.cpp Bypass surface flinger permission check for calls from system. 2015-05-28 14:19:22 -07:00
Client.h Adding render stats APIs to UiAutomation (framework native). 2014-04-10 12:32: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
Colorizer.h Add a --color option to dumpsys SurfaceFlinger 2013-04-22 21:51:28 +02:00
DdmConnection.cpp SurfaceFlinger: Tweak whitespace in DdmConnection 2015-05-28 14:23:54 -07:00
DdmConnection.h add libsurfaceflinger_ddmconnection for PDK build 2012-08-31 20:08:33 -07:00
DisplayDevice.cpp SF: Add support for all flips of panel mount 2016-07-20 04:16:16 -07:00
DisplayDevice.h SF: Add support for all flips of panel mount 2016-07-20 04:16:16 -07:00
DisplayUtils.cpp sf: Fix compliation for non-8996 platforms 2016-08-02 20:11:17 +08:00
DisplayUtils.h sf: vds: Avoid HWC for certain scenarios 2015-11-02 08:15:21 -08:00
DispSync.cpp SF: more DispSync improvements. 2016-07-20 04:16:16 -07:00
DispSync.h SF: more DispSync improvements. 2016-07-20 04:16:16 -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: disable VSync thread if no clients requiring. 2017-01-03 01:51:06 +01:00
EventThread.h SF: Permit changing DispSync offsets at runtime 2015-04-15 13:56:28 -07:00
FrameRateHelper.h SurfaceFlinger: Native changes to add blur effect 2015-11-08 01:07:13 -08: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 surfaceflinger: Add check for number of queued buffers 2016-08-03 14:19:04 -07:00
Layer.h SF: Add support to draw S3D framebuffer target 2016-07-31 14:15:30 -07:00
LayerBlur.cpp surfaceflinger: Fix uninitialized variable 2016-08-03 15:28:43 -07:00
LayerBlur.h surfaceflinger: Fix uninitialized variable 2016-08-03 15:28:43 -07:00
LayerDim.cpp SurfaceFlinger: Native changes to add blur effect 2015-11-08 01:07:13 -08:00
LayerDim.h SurfaceFlinger: Native changes to add blur effect 2015-11-08 01:07:13 -08:00
main_surfaceflinger.cpp Android 6.0.1 release 22 2016-03-10 18:17:45 -08: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 move native services under services/ 2010-07-22 15:28:19 -07:00
MonitoredProducer.cpp libgui/SurfaceFlinger: Add getConsumerName 2015-06-09 11:28:37 -07:00
MonitoredProducer.h libgui/SurfaceFlinger: Add getConsumerName 2015-06-09 11:28:37 -07:00
SurfaceFlinger.cpp surfaceflinger: Add support for Exynos HWC services 2016-08-18 10:41:58 -07:00
SurfaceFlinger.h SF: Add support to draw S3D framebuffer target 2016-07-31 14:15:30 -07:00
SurfaceFlingerConsumer.cpp Fix PTS handling for buffer replacement 2015-05-13 09:43:35 -07:00
SurfaceFlingerConsumer.h Fix PTS handling for buffer replacement 2015-05-13 09:43:35 -07:00
Transform.cpp Add clamp to Layer and update Transform inverse. 2014-11-21 17:05:18 -08:00
Transform.h color blindness enhancement 2013-09-04 22:11:15 -07:00