diff options
| author | 2019-06-18 17:05:26 -0700 | |
|---|---|---|
| committer | 2019-06-19 13:46:16 -0700 | |
| commit | 84be783ff179fd6589bd01091f08f174f1f6a95d (patch) | |
| tree | 0c1d695b87a4f86d37306fb358010c1c74a7ee10 /opengl/libagl/array.cpp | |
| parent | 7fbb0831bf1f803e8faa9e34e43efdd6b0dc05c7 (diff) | |
SF: delay region sampling when short on time
In a number of janky traces, particularly at high
frame rates, we've seen the surfaceflinger thread
overrunning its time slot. In some of those cases,
the surfaceflinger thread is doing region-sampling.
This change causes region-sampling to check how much
time is left until the next vsync before deciding
whether to sample this frame. If low on time,
it will defer the sampling to a later frame.
Bug: 133779857
Test: trace inspection from scrolling in various apps
Change-Id: I92c2368e80033c1ba6e27f947a456d14db02064c
Diffstat (limited to 'opengl/libagl/array.cpp')
0 files changed, 0 insertions, 0 deletions