ExternalVkImage: using GrContext::setBackendTextureState() to change
VkImage layout and queue family. Right now, ExternalVkImageBacking uses vulkan API to change VkImage layout and queue family for external usage (GL). It needs an extra vulkan queue submission. Remove this submission by using the new added GrContext::setBackendTextureState(). Bug: 1087063 Change-Id: If0885d166dd917132b81a111bd10be6863cc991d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2273601Reviewed-by:Vasiliy Telezhnikov <vasilyt@chromium.org> Commit-Queue: Peng Huang <penghuang@chromium.org> Cr-Commit-Position: refs/heads/master@{#783748}
Showing
Please register or sign in to comment