summaryrefslogtreecommitdiff
path: root/vulkan/libvulkan/api.cpp
diff options
context:
space:
mode:
author Derek Sollenberger <djsollen@google.com> 2021-03-19 15:42:19 -0400
committer Derek Sollenberger <djsollen@google.com> 2021-03-24 16:58:46 -0400
commit957f7b377c39f214e61d6a8bac3a151fb63c1e77 (patch)
tree076373c8b29e0f90a6e7646005cb51b0a3fb8dd7 /vulkan/libvulkan/api.cpp
parenta8f89293fe6e2622d4e4882c4377fbd64aacb01d (diff)
Increase performance for screenshots by pre-loading the buffer
When running with a threaded renderer the output buffer will now be added to the cache when it is created to avoid any stalls putting the buffer into an SkSurface. Test: perfetto tracing and librenderengine_test Bug: 181028875 Change-Id: Ie5f3f61b9cab2411a86841ca87010b3b78853690
Diffstat (limited to 'vulkan/libvulkan/api.cpp')
0 files changed, 0 insertions, 0 deletions