replicant-frameworks_native/services
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
..
batteryservice Android 6.0.0 release 26 2015-11-05 01:41:42 +00:00
inputflinger Fixed stylus eraser being rejected by palm rejection 2016-08-05 13:41:31 -05:00
powermanager
sensorservice sensorservice: fix an invalid format string 2016-04-20 15:50:27 -07:00
surfaceflinger SurfaceFlinger: disable VSync thread if no clients requiring. 2017-01-03 01:51:06 +01:00