Go to file
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
build Add Dalvik heap definition for 7" xhdpi devices. 2013-05-06 15:06:20 -07:00
cmds Add an installd command to mark the end of boot. 2014-11-10 17:04:12 +00:00
data/etc Merge "Issue #17551667: Voice interaction service should be disabled..." into lmp-mr1-dev 2014-11-17 18:33:21 +00:00
include Fix build. 2014-11-14 10:24:28 +00:00
libs Fix issue #18356768: some app process may hang at Runtime#exit... 2014-11-13 17:09:59 -08:00
opengl Add a BufferItem parameter to onFrameAvailable 2014-11-07 10:39:13 -08:00
services SurfaceFlinger: Do less work when using PTS 2014-11-17 21:32:13 +00:00
MODULE_LICENSE_APACHE2
NOTICE