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

Unified Diff: src/gpu/GrDrawContextPriv.h

Issue 2262473003: Define clear regions in terms of GrFixedClip (Closed) Base URL: https://skia.googlesource.com/skia.git@upload_fixedcliptosrc
Patch Set: disabled -> Disabled Created 4 years, 4 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/GrDrawContextPriv.h
diff --git a/src/gpu/GrDrawContextPriv.h b/src/gpu/GrDrawContextPriv.h
index 31d8481c73856ce9054cf6a8cb7c5f544c38710e..6fa6f394f72237399b0141172c984f386c685f29 100644
--- a/src/gpu/GrDrawContextPriv.h
+++ b/src/gpu/GrDrawContextPriv.h
@@ -25,7 +25,9 @@ public:
return fDrawContext->getDrawTarget()->instancedRendering();
}
- void clearStencilClip(const SkIRect& rect, bool insideClip);
+ void clear(const GrFixedClip&, const GrColor, bool canIgnoreClip);
+
+ void clearStencilClip(const GrFixedClip&, bool insideStencilMask);
void stencilRect(const GrFixedClip& clip,
const GrUserStencilSettings* ss,

Powered by Google App Engine
This is Rietveld 408576698