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

Unified Diff: src/gpu/GrGpu.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/GrGpu.h
diff --git a/src/gpu/GrGpu.h b/src/gpu/GrGpu.h
index 82f4931d6c49f6e0cd45d09f67d7e5d03eb7a7d3..3cf7fbb907095e652a0dbd027f1804822e47d123 100644
--- a/src/gpu/GrGpu.h
+++ b/src/gpu/GrGpu.h
@@ -304,6 +304,10 @@ public:
const SkIRect& srcRect,
const SkIPoint& dstPoint) = 0;
+ // Inserts a boundary between render passes that touch the same pixels. Some blending extensions
+ // require this in order to guarantee coherent results.
+ virtual void blendBarrier() = 0;
Mark Kilgard 2015/04/02 23:02:38 seems like you could just provide a no-op implemen
+
struct DrawArgs {
typedef GrDrawTarget::DrawInfo DrawInfo;
DrawArgs(const GrPrimitiveProcessor* primProc,

Powered by Google App Engine
This is Rietveld 408576698