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

Unified Diff: src/gpu/GrDrawTarget.h

Issue 2241873002: Remove stencil settings param from stencilPath() (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 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 | « src/gpu/GrDrawContextPriv.h ('k') | src/gpu/GrDrawTarget.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrDrawTarget.h
diff --git a/src/gpu/GrDrawTarget.h b/src/gpu/GrDrawTarget.h
index 6149e922cb422ee98e11abe1ddef29a726569280..e10f4568f9d1e8481431a92d7cc5f751769f9e89 100644
--- a/src/gpu/GrDrawTarget.h
+++ b/src/gpu/GrDrawTarget.h
@@ -109,14 +109,14 @@ public:
void addBatch(sk_sp<GrBatch>);
/**
- * Draws path into the stencil buffer. The path's fill must be either even/odd or
- * winding (not inverse or hairline). It will respect the HW antialias boolean
- * (if possible in the 3D API). Note, we will never have an inverse
- * fill with stencil path
+ * Draws the path into user stencil bits. Upon return, all user stencil values
+ * inside the path will be nonzero. The path's fill must be either even/odd or
+ * winding (notnverse or hairline).It will respect the HW antialias boolean (if
+ * possible in the 3D API). Note, we will never have an inverse fill with
+ * stencil path.
*/
void stencilPath(GrDrawContext*,
const GrClip&,
- const GrUserStencilSettings*,
bool useHWAA,
const SkMatrix& viewMatrix,
const GrPath*);
« no previous file with comments | « src/gpu/GrDrawContextPriv.h ('k') | src/gpu/GrDrawTarget.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698