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

Unified Diff: src/gpu/GrDrawTarget.h

Issue 2246113002: Convert GrAppliedClip interface to builder style (Closed) Base URL: https://skia.googlesource.com/skia.git@fixstencilpath
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
Index: src/gpu/GrDrawTarget.h
diff --git a/src/gpu/GrDrawTarget.h b/src/gpu/GrDrawTarget.h
index 6a2c5f5c199ed775f83f643491fd0e63f3de9eb2..682dd2de3300fdf718db2acb26a780c810259977 100644
--- a/src/gpu/GrDrawTarget.h
+++ b/src/gpu/GrDrawTarget.h
@@ -111,14 +111,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*);

Powered by Google App Engine
This is Rietveld 408576698