replicant-frameworks_native/services
Dan Stoza 6b9454d1fe SurfaceFlinger: Do less work when using PTS
Currently, SurfaceFlinger is very dumb about how it handles buffer
updates at less than 60fps. If there is a new frame pending, but its
timestamp says not to present it until later SurfaceFlinger will wake
up every vsync until it is time to present it. Even worse, if
SurfaceFlinger has woken up but nothing has changed, it still goes
through the entire composition process.

This change (mostly) fixes that inefficiency. SurfaceFlinger will
still wake up every refresh period while there is a new frame
pending, but if there is no work to do, it will almost immediately go
back to sleep.

Bug: 18111837
Change-Id: I7825bacd37f40bf26edcc6a5e0f051dce45291fb
2014-11-17 21:32:13 +00:00
..
batteryservice
inputflinger Stop consuming input on error dialogs. 2014-11-11 14:05:03 -08:00
powermanager
sensorservice Add a timeout for releasing SensorService wake_lock. 2014-11-01 18:19:25 -07:00
surfaceflinger SurfaceFlinger: Do less work when using PTS 2014-11-17 21:32:13 +00:00