summaryrefslogtreecommitdiff
path: root/vulkan/libvulkan/api.cpp
diff options
context:
space:
mode:
author Derek Sollenberger <djsollen@google.com> 2021-01-29 16:53:49 -0500
committer Derek Sollenberger <djsollen@google.com> 2021-02-10 10:39:37 -0500
commitecb21465304e9ed202c819d11d8f6a693f790d75 (patch)
tree3aea564a2261e4a0ba8d403e5817c2a4222eee6f /vulkan/libvulkan/api.cpp
parent019f359df991369940ad9adb1c344b11aca6eef5 (diff)
Update RenderEngine blur to snap an image of the full surface.
Snapping a subregion of a surface causes Skia's GPU surfaces to make a copy of the pixels into a new buffer so that the dimensions of the buffer match the requested size. By requesting a basic snapshot this CL avoids any uncessary framebuffer copies. Also refactor the code to start consolidating where blurs are used. Test: tracing SysUI blurs Bug: 176903027 Change-Id: I72a9e442e50bc6d945c601efca1fdd2ce7cdfcd1
Diffstat (limited to 'vulkan/libvulkan/api.cpp')
0 files changed, 0 insertions, 0 deletions