summaryrefslogtreecommitdiff
path: root/opengl/libagl/array.cpp
diff options
context:
space:
mode:
author Ady Abraham <adyabr@google.com> 2019-06-03 17:10:55 -0700
committer Ady Abraham <adyabr@google.com> 2019-06-03 17:14:56 -0700
commit9ba25125f9ced03fc3f96a111d2987494d074d57 (patch)
tree349d612a7a04ad8a19027382c720d2df67163e78 /opengl/libagl/array.cpp
parent2eeb9c63869b295e444604d7c5470ce6be3744a0 (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