diff options
author | Brian Salomon <bsalomon@google.com> | 2017-07-19 13:50:54 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-07-19 18:16:05 +0000 |
commit | e5b399ee69332e0d68a660d6695d1182a4cb16b1 (patch) | |
tree | 25fefab7cc05a848a7f88b0cb51bd568ad02d67f /src/gpu/GrPathRenderer.h | |
parent | 6d66237a034fb2b3051ea9247a7ba728907abb4a (diff) |
Remove GrLegacyMeshDrawOp and GrPipelineBuilder
Change-Id: Ib301a0e7d4b4c4f05417d28862017307949748c9
Reviewed-on: https://skia-review.googlesource.com/23584
Commit-Queue: Brian Salomon <bsalomon@google.com>
Reviewed-by: Greg Daniel <egdaniel@google.com>
Diffstat (limited to 'src/gpu/GrPathRenderer.h')
-rw-r--r-- | src/gpu/GrPathRenderer.h | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/src/gpu/GrPathRenderer.h b/src/gpu/GrPathRenderer.h index c55ed57b45..a3cf8c6151 100644 --- a/src/gpu/GrPathRenderer.h +++ b/src/gpu/GrPathRenderer.h @@ -23,10 +23,6 @@ struct GrPoint; /** * Base class for drawing paths into a GrOpList. - * - * Derived classes can use stages GrPaint::kTotalStages through GrPipelineBuilder::kNumStages-1. - * The stages before GrPaint::kTotalStages are reserved for setting up the draw (i.e., textures and - * filter masks). */ class SK_API GrPathRenderer : public SkRefCnt { public: @@ -40,11 +36,10 @@ public: * rendered into the stencil. * * A GrPathRenderer can provide three levels of support for stenciling paths: - * 1) kNoRestriction: This is the most general. The caller sets up the GrPipelineBuilder on the - * target and calls drawPath(). The path is rendered exactly as the draw - * state indicates including support for simultaneous color and stenciling - * with arbitrary stenciling rules. Pixels partially covered by AA paths are - * affected by the stencil settings. + * 1) kNoRestriction: This is the most general. The caller passes a GrPaint and calls drawPath(). + * The path is rendered exactly as the draw state indicates including support + * for simultaneous color and stenciling with arbitrary stenciling rules. + * Pixels partially covered by AA paths are affected by the stencil settings. * 2) kStencilOnly: The path renderer cannot apply arbitrary stencil rules nor shade and stencil * simultaneously. The path renderer does support the stencilPath() function * which performs no color writes and writes a non-zero stencil value to pixels @@ -147,7 +142,7 @@ public: /** * Draws the path into the draw target. If getStencilSupport() would return kNoRestriction then - * the subclass must respect the stencil settings of the GrPipelineBuilder. + * the subclass must respect the stencil settings. */ bool drawPath(const DrawPathArgs& args) { SkDEBUGCODE(args.validate();) |