summaryrefslogtreecommitdiff
path: root/opengl/tests/gl_basic/gl_basic.cpp
diff options
context:
space:
mode:
authorHaixia Shi <hshi@google.com>2015-11-23 17:47:15 -0800
committerHaixia Shi <hshi@google.com>2015-11-23 18:29:36 -0800
commitc734d95c575830ffc97fc5d2ae14b020c95d05de (patch)
treec405e6ace18f136d0174b0f6b773ad2bc10f2c68 /opengl/tests/gl_basic/gl_basic.cpp
parente0c44ed2625f28533736b91a1922b71c53803ab0 (diff)
DispSync: workaround HH hardware vsync issue
The HWC of HH seems to have a bug where it fails to generate vsync events upon the first eventControl call to turn on HWC_EVENT_VSYNC. The workaround is for DispSync to detect when it has received no resync samples after many presents, and return false so that SF will disable HW vsync and re-enable it in the next present. This gets the HWC of HH out of the bad state. Bug:25845510 TEST=reboot HH then immediately capture systrace while scrolling all apps Change-Id: Ie034c113d94ea53068eef75b8eac39a32788666a
Diffstat (limited to 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions