diff options
| author | 2019-06-03 17:10:55 -0700 | |
|---|---|---|
| committer | 2019-06-03 17:14:56 -0700 | |
| commit | 9ba25125f9ced03fc3f96a111d2987494d074d57 (patch) | |
| tree | 349d612a7a04ad8a19027382c720d2df67163e78 /opengl/libagl/array.cpp | |
| parent | 2eeb9c63869b295e444604d7c5470ce6be3744a0 (diff) | |
SurfaceFlinger: HWVsync when display is off
HWC expects that HWVsync will not be turned on if display if off.
To ensure that we move enabling/disabling of HWVsync to the main thread
and caching the latest request in case the display is off. When the
display is turned on again we apply the latest state of HWVsync.
Bug: 134050982
Test: Toggle screen on/off in a loop
Change-Id: Ib87f885f95195b8bb402d5a5b2c75f20e213d2aa
Diffstat (limited to 'opengl/libagl/array.cpp')
0 files changed, 0 insertions, 0 deletions