summaryrefslogtreecommitdiff
path: root/vulkan/libvulkan/api.cpp
diff options
context:
space:
mode:
author Ady Abraham <adyabr@google.com> 2021-05-11 14:31:26 -0700
committer Ady Abraham <adyabr@google.com> 2021-05-13 23:10:48 +0000
commitb42cdc1723a40189fcc29173281947b65f173982 (patch)
tree9e5b57f036bd8ea5da065f49726728c8d80d2abb /vulkan/libvulkan/api.cpp
parent562c2718fcf8f465fe54a88c7ac948cd21a77ce5 (diff)
SF: do not skip validate if it is called more than a vsync earlier
To prevent an early present, we don't want to skip validate and present immediately if we started the frame to early. Instead we will do the validate and wait before calling to present. The reason why we can't wait before validate, is that we might need to do client composition after validate (based on hwc composition strategy) and we might miss a frame if we waited before validate. Bug: 187871031 Test: observe systraces Change-Id: I9b4b0d4c9c58ddc703bcddadd44dfb0e7eff1cbd
Diffstat (limited to 'vulkan/libvulkan/api.cpp')
0 files changed, 0 insertions, 0 deletions