summaryrefslogtreecommitdiff
path: root/vulkan/libvulkan/api.cpp
diff options
context:
space:
mode:
author Brian Anderson <brianderson@google.com> 2016-07-14 11:51:14 -0700
committer Brian Anderson <brianderson@google.com> 2016-11-15 12:59:26 -0800
commit3546a3f08ad84099db4006d651c656d58d2ed566 (patch)
tree614f81f8239e1b8ace0aaee7395db47244cf6411 /vulkan/libvulkan/api.cpp
parent069b365163470d2736eb6f591c354d208b5da23b (diff)
Fix FenceTracker releaseFence
This patch: * Fixes the release fence when GPU compositing. * Stores the final release fence in ConsumerBase just before releasing the Buffer, which helps ensure sync points aren't added unknowningly. * Makes HWC2 release pending buffers as the first step of postCompostion, rather than the last, which should allow dequeue to unblock a little earlier and helps make sure the previous buffer's release fence has been finalized before FenceTracker::addFrame is called. * Fence tracker only sets the release fence once it has been finalized so it does not report a release fence for a buffer that is still latched. Test: adb shell /data/nativetest/libgui_test/libgui_test --gtest_filter=*GetFrameTimestamps* Change-Id: I27d484bfd48f730bdcea2628f96795c6f4b4df7b
Diffstat (limited to 'vulkan/libvulkan/api.cpp')
0 files changed, 0 insertions, 0 deletions