diff options
| author | 2018-03-28 17:07:36 -0700 | |
|---|---|---|
| committer | 2018-04-06 12:16:58 +0000 | |
| commit | 2713c30843816d3511b39b85a2c268a2b7682047 (patch) | |
| tree | 29ad7dff46cb10aca4c03652c012637dfa0d843f /libs/gui/BufferQueueThreadState.cpp | |
| parent | c650f6215df216542f16918c8477ea2f73e9214d (diff) | |
Early wake-up for transitions (1/2)
On some devices it's very likely that we fall into GL comp during
app transitions. However, SF offsets are chosen in a way such that
the time to finish a frame is just too tight to be completely jank
free when hitting GL composition in SurfaceFlinger. Thus, we
introduce the concept of a separate early offset, and wakeup
SurfaceFlinger at that time if we think that hitting GL comp is
likely, or we already hit GL comp in the last frame.
Test: Open app, check vsync offsets in systrace
Test: Open many dialogs/apps to fall into GPU comp.
Bug: 75985430
Change-Id: Ie17e30c4575359fa11bb8912f68dcafe3e569ddb
Merged-In: Ie17e30c4575359fa11bb8912f68dcafe3e569ddb
Diffstat (limited to 'libs/gui/BufferQueueThreadState.cpp')
0 files changed, 0 insertions, 0 deletions