summaryrefslogtreecommitdiff
path: root/opengl/libagl/TextureObjectManager.cpp
diff options
context:
space:
mode:
author Dan Stoza <stoza@google.com> 2020-05-26 17:26:34 -0700
committer Dan Stoza <stoza@google.com> 2020-06-01 13:54:50 -0700
commit027d365531303be8bd0da2f2ee3f816459258752 (patch)
treef137b51f53c7984b96160a8b1eb07d7a2153e7e8 /opengl/libagl/TextureObjectManager.cpp
parent9b5bf0f42d57387a3451aa9eb9bfb1075fcb91a4 (diff)
SF: Reconfirm all period changes, ignore HWC
This change includes two separate fixes to make waking up from idle more robust when using a kernel idle timer: 1) Always reconfirm the refresh rate when we resync to hardware vsync. This is because if the kernel idle timer is enabled, we may not immediately be in the refresh rate we expect to be. 2) Ignore the refresh rate reported by the hardware vsync callbacks, since that refresh rate may not reflect the actual refresh rate when the kernel idle timer is in effect. Bug: 154303580 Test: systrace Test: libsurfaceflinger_unittest Change-Id: I79c66faeaed262acd9c5925fe2202a9fb3f10b7b
Diffstat (limited to 'opengl/libagl/TextureObjectManager.cpp')
0 files changed, 0 insertions, 0 deletions