diff options
author | John Reck <jreck@google.com> | 2015-10-28 09:21:19 -0700 |
---|---|---|
committer | John Reck <jreck@google.com> | 2015-10-28 12:24:13 -0700 |
commit | e486d932ca5a10446a3c98d6d065213913277268 (patch) | |
tree | b424ac4bf217a048a784f00377828a651ce1380a /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 5918519f972b4eedfc0e402b96cf8a288446deed (diff) |
Tune scheduling a bit, avoid a binder ipc
Don't query running behind if it's not possible to be behind such
as having received a vsync since the last call to swap buffers.
This also avoids an accidental-starvation issue where if surface
flinger was a bit sluggish to dequeue then renderthread would drop
thinking the queue was full.
Also be a bit smarter about tracking if we've already drawn for this
vsync target to avoid producing two frames for the same vsync
Change-Id: Ib266500a693c27000b2e8ea578f111229d75147a
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions