diff options
author | Derek Sollenberger <djsollen@google.com> | 2020-08-13 16:53:30 -0400 |
---|---|---|
committer | Derek Sollenberger <djsollen@google.com> | 2020-08-17 13:22:34 -0400 |
commit | 802fefa881b1ac135d00655b9bec22cbc7a64509 (patch) | |
tree | 035ed0ad4f2dcf83bad3934dad86f440f7319161 /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | a10867062213cc0d47e1d63fc8c19aed55266457 (diff) |
Share Vulkan resources between RenderThread and HardwareBitmapUploader
The VkInstance and VkDevice are constructs that can be shared between
threads and avoid the extra driver allocations associated with them.
This CL also fixes a bug where Vulkan uploads were occuring on the
thread that invoked the upload and not occuring on the upload thread.
Bug: b/162628999
Test: atest CtsUiRenderingTestCases
Change-Id: I0289938333e2c3dafcc2ce18e72dca3acf4d5b79
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions