summaryrefslogtreecommitdiff
path: root/libs/ui/Region.cpp
diff options
context:
space:
mode:
author Marissa Wall <marissaw@google.com> 2019-03-20 13:21:13 -0700
committer Marissa Wall <marissaw@google.com> 2019-03-22 16:24:08 +0000
commit16c112df109e81e392eb1f337cba2fe2fdf6d42e (patch)
treebf7361690bb55a585e13b1f82d87f3d5b205b4ad /libs/ui/Region.cpp
parent4c6f904ffde2795886477f6de54edcae5d036e68 (diff)
blast: fix 30Hz wake up issue
When playing 30Hz video, SurfaceFlinger was waking up at a rate of 60Hz. This is because hasFrameUpdate returned true after the update was already applied. mCurrentStateModified was being cleared after the frame was sent to HWC instead of when the buffer was latched. By moving "mCurrentStateModified = false" to latch, the hasFrameUpdate returns false so SurfaceFlinger doesn't schedule the extra wake up. Test: SurfaceFlinger_test Bug: 128520233 Change-Id: I2f18c6d03b81affb1235d6b466d665e711b1db8c
Diffstat (limited to 'libs/ui/Region.cpp')
0 files changed, 0 insertions, 0 deletions