summaryrefslogtreecommitdiff
path: root/vulkan/libvulkan/api.cpp
diff options
context:
space:
mode:
author Alec Mouri <alecmouri@google.com> 2019-07-09 13:51:37 -0700
committer Alec Mouri <alecmouri@google.com> 2019-07-09 13:56:25 -0700
commit3d7c561771cd492e0df12dfa34cbbbaf7fbda56d (patch)
treeab33fbe02c785de3e5c6fbe2f97cf45709ce9f47 /vulkan/libvulkan/api.cpp
parent769ab6f949369468ee6355d00e490ad14a2f3721 (diff)
[RenderEngine] relax locking conditions of image cache.
RenderEngine::drawLayers is currently only called on the main thread, and layers should not be destroyed while the main thread is running, so we don't need to lock during the entirety of rendering. Note that with this change there is still some jank because GPU rendering does take a long time, but it's not nearly as bad as before. Bug: 136806342 Test: open photos a bunch of times Change-Id: I66d52c07f31ccf350dec4df665364868350e13c0
Diffstat (limited to 'vulkan/libvulkan/api.cpp')
0 files changed, 0 insertions, 0 deletions