summaryrefslogtreecommitdiff
path: root/cmds/bootanimation/BootAnimation.cpp
diff options
context:
space:
mode:
author chaviw <chaviw@google.com> 2022-03-24 17:38:48 -0500
committer chaviw <chaviw@google.com> 2022-03-28 09:41:25 -0500
commit7b7dabc218523195d181393383ee28dd285457a4 (patch)
treeb5774a129002bef7a94883872783fbdaa05ea181 /cmds/bootanimation/BootAnimation.cpp
parentd8ea5df38154bfed206cebe288eba385b76e89a4 (diff)
Force draw during a blast sync and disable rt animations
When ViewRootImpl is going to draw a frame due to a blast sync request, we call forceDrawNextFrame to ensure we get a draw this vsync, even if RT animation rendered a frame. This will ensure that we aren't required to reschedule a draw either in rt thread or ui thread since we'll get a frame back as long as there's an available buffer. We also disable rt animations if a sync set has started with Syncer and then re-enable when the sync set is complete. This ensures we don't continue to acquire buffers for a render thread scheduled animation during a UI animation since we want the UI request to get the buffer. Test: Open internet dialog from notification shade on 60hz device Fixes: 217621394 Bug: 200284684 Change-Id: Ic1534d21b0ee2ad82f20ff34df4cbbbad87557fd
Diffstat (limited to 'cmds/bootanimation/BootAnimation.cpp')
0 files changed, 0 insertions, 0 deletions