aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/ccpr/GrCCPRCoverageOp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/ccpr/GrCCPRCoverageOp.h')
-rw-r--r--src/gpu/ccpr/GrCCPRCoverageOp.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gpu/ccpr/GrCCPRCoverageOp.h b/src/gpu/ccpr/GrCCPRCoverageOp.h
index b75783ea9a..ba818a1b12 100644
--- a/src/gpu/ccpr/GrCCPRCoverageOp.h
+++ b/src/gpu/ccpr/GrCCPRCoverageOp.h
@@ -64,6 +64,11 @@ public:
// | 1 1 |
void parsePath(const SkMatrix&, const SkPath&, SkRect* devBounds, SkRect* devBounds45);
+ // Parses a device-space SkPath into a temporary staging area. The path will not yet be included
+ // in the next Op unless there is a matching call to saveParsedPath. The user must complement
+ // this with a following call to either saveParsedPath or discardParsedPath.
+ void parseDeviceSpacePath(const SkPath&);
+
// Commits the currently-parsed path from staging to the next Op, and specifies whether the mask
// should be rendered with a scissor clip in effect. Accepts an optional post-device-space
// translate for placement in an atlas.