From 1cdbdda91748d5a3fece595e07de5efb662aaaad Mon Sep 17 00:00:00 2001 From: Greg Daniel Date: Tue, 16 May 2017 14:52:57 -0400 Subject: [PATCH] Enable vulkan copies as draws for everything but qualcomm Bug: skia: Change-Id: I9fe2593460e2ff83ba4f9471e384f506c16544f9 Reviewed-on: https://skia-review.googlesource.com/17109 Commit-Queue: Greg Daniel Reviewed-by: Brian Osman --- src/gpu/vk/GrVkCaps.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/gpu/vk/GrVkCaps.cpp b/src/gpu/vk/GrVkCaps.cpp index 36a252e..eeb43ad 100644 --- a/src/gpu/vk/GrVkCaps.cpp +++ b/src/gpu/vk/GrVkCaps.cpp @@ -97,10 +97,13 @@ void GrVkCaps::init(const GrContextOptions& contextOptions, const GrVkInterface* } if (kNvidia_VkVendor == properties.vendorID) { - fSupportsCopiesAsDraws = true; fMustSubmitCommandsBeforeCopyOp = true; } + if (kQualcomm_VkVendor != properties.vendorID) { + fSupportsCopiesAsDraws = true; + } + if (fSupportsCopiesAsDraws) { fCrossContextTextureSupport = true; } -- 2.7.4