Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(133)

Unified Diff: src/gpu/vk/GrVkCaps.h

Issue 2274663005: Add GrVkCopyPipeline to handle vulkan copies as draws (Closed) Base URL: https://skia.googlesource.com/skia.git@compatibleCopyDS
Patch Set: indent nits Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gyp/gpu.gypi ('k') | src/gpu/vk/GrVkCaps.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/vk/GrVkCaps.h
diff --git a/src/gpu/vk/GrVkCaps.h b/src/gpu/vk/GrVkCaps.h
index 6f46952f43b1a27b34974644100cb65a38a5c423..8e8953e52294e829aa9b8cd66fc5931424ad5ab0 100644
--- a/src/gpu/vk/GrVkCaps.h
+++ b/src/gpu/vk/GrVkCaps.h
@@ -70,6 +70,10 @@ public:
return fAllowInitializationErrorOnTearDown;
}
+ bool supportsCopiesAsDraws() const {
+ return fSupportsCopiesAsDraws;
+ }
+
/**
* Returns both a supported and most prefered stencil format to use in draws.
*/
@@ -128,6 +132,9 @@ private:
// flag says we will accept VK_ERROR_INITIALIZATION_FAILED as well.
bool fAllowInitializationErrorOnTearDown;
+ // Check whether we support using draws for copies.
+ bool fSupportsCopiesAsDraws;
+
typedef GrCaps INHERITED;
};
« no previous file with comments | « gyp/gpu.gypi ('k') | src/gpu/vk/GrVkCaps.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698