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

Unified Diff: include/gpu/GrDrawContext.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
« no previous file with comments | « no previous file | src/gpu/GrClipStackClip.cpp » ('j') | src/gpu/GrDrawContext.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/gpu/GrDrawContext.h
diff --git a/include/gpu/GrDrawContext.h b/include/gpu/GrDrawContext.h
index 993bb56f9efc4e936a4f0860dfafa4ddc47ee57e..5a8d22946ea871f8d2062eebfa52f9c7e84d9090 100644
--- a/include/gpu/GrDrawContext.h
+++ b/include/gpu/GrDrawContext.h
@@ -25,6 +25,7 @@ class GrDrawContextPriv;
class GrDrawPathBatchBase;
class GrDrawingManager;
class GrDrawTarget;
+class GrFixedClip;
class GrPaint;
class GrPathProcessor;
class GrPipelineBuilder;
@@ -339,6 +340,8 @@ private:
friend class GrStencilAndCoverPathRenderer; // for access to drawBatch
friend class GrTessellatingPathRenderer; // for access to drawBatch
+ void internalClear(const GrFixedClip&, const GrColor, bool canIgnoreClip);
+
bool drawFilledDRRect(const GrClip& clip,
const GrPaint& paint,
const SkMatrix& viewMatrix,
« no previous file with comments | « no previous file | src/gpu/GrClipStackClip.cpp » ('j') | src/gpu/GrDrawContext.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698