summaryrefslogtreecommitdiff
path: root/vulkan/libvulkan/api.cpp
diff options
context:
space:
mode:
author Vishnu Nair <vishnun@google.com> 2023-08-04 16:33:23 +0000
committer Vishnu Nair <vishnun@google.com> 2023-08-04 16:50:34 +0000
commit6f209e2d55e4ab5381eb21b311f14a38d5f20a16 (patch)
tree57aec22a796ef2e482fe92bc0d23ba8c2dc84791 /vulkan/libvulkan/api.cpp
parent04c9ef1323eeb2ca1421bbccb10578c455d7f3ae (diff)
[sf] Fix wakeup related to CE#needsAnotherUpdate
Layers track if they have a frame ready to be latched using hasReadyFrame. Once the buffer is latched for a layer, the states are cleared so hasReadyFrame is only true if we have another buffer to be latched (not possible) or if the auto refresh flag is set. In post composition, this flag is checked to schedule a commit. With the new frontend, we update the snapshot once every commit. This means hasReadyFrame should only track the auto refresh state. Bug: 238781169 Test: atest android.graphics.cts.FrameRateOverrideTest#testAppBackpressure --rerun-until-failure with mixed gsi builds Change-Id: I73fe6d69c5f34e4ce5d0efc6b7f39ae72c50b8aa
Diffstat (limited to 'vulkan/libvulkan/api.cpp')
0 files changed, 0 insertions, 0 deletions