commit | 802fefa881b1ac135d00655b9bec22cbc7a64509 | [log] [tgz] |
---|---|---|
author | Derek Sollenberger <djsollen@google.com> | Thu Aug 13 16:53:30 2020 -0400 |
committer | Derek Sollenberger <djsollen@google.com> | Mon Aug 17 13:22:34 2020 -0400 |
tree | 035ed0ad4f2dcf83bad3934dad86f440f7319161 | |
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