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

Unified Diff: src/gpu/GrPipelineBuilder.cpp

Issue 1040303002: Use texture barriers to read directly from the RT (Closed) Base URL: https://skia.googlesource.com/skia.git@upload_zz1_reverseiter
Patch Set: Created 5 years, 9 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
Index: src/gpu/GrPipelineBuilder.cpp
diff --git a/src/gpu/GrPipelineBuilder.cpp b/src/gpu/GrPipelineBuilder.cpp
index 1d8aa4f2b4f9baa9b21496272dfac6b7f04c85f7..5e740ecb40408e7c659a3cdc0a3204b77f0ccda7 100644
--- a/src/gpu/GrPipelineBuilder.cpp
+++ b/src/gpu/GrPipelineBuilder.cpp
@@ -123,6 +123,11 @@ bool GrPipelineBuilder::canTweakAlphaForCoverage() const {
return this->getXPFactory()->canTweakAlphaForCoverage();
}
+// Some blending extensions require the use of a barrier to ensure coherent results.
+bool GrPipelineBuilder::willBlendCoherently(const GrDrawTargetCaps& caps) const {
+ return this->getXPFactory()->willBlendCoherently(caps);
Mark Kilgard 2015/04/02 23:02:38 this seems a lot of indirection to just return a b
+}
+
////////////////////////////////////////////////////////////////////////////////
GrPipelineBuilder::~GrPipelineBuilder() {

Powered by Google App Engine
This is Rietveld 408576698