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

Unified Diff: src/gpu/GrPipelineBuilder.h

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.h
diff --git a/src/gpu/GrPipelineBuilder.h b/src/gpu/GrPipelineBuilder.h
index ae9ca9b067b585795a921241c735833dd4f1aa0f..c6f7b311eac6120c2f2d245e5847a2a27a002141 100644
--- a/src/gpu/GrPipelineBuilder.h
+++ b/src/gpu/GrPipelineBuilder.h
@@ -146,6 +146,13 @@ public:
bool canTweakAlphaForCoverage() const;
/**
+ * Returns whether blending will be done coherently with draw calls that have been submitted
+ * previously. This is generally true, however some blending extensions require the use of a
+ * barrier.
+ */
+ bool willBlendCoherently(const GrDrawTargetCaps& caps) const;
+
+ /**
* This function returns true if the render target destination pixel values will be read for
* blending during draw.
*/

Powered by Google App Engine
This is Rietveld 408576698