commit | a6286055e60e78a2b9b1c46262d8c3e08d5df2fd | [log] [tgz] |
---|---|---|
author | Robert Phillips <robertphillips@google.com> | Mon Apr 13 10:55:08 2020 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Mon Apr 13 16:14:07 2020 +0000 |
tree | 3f94c93514016b0eeac7e881522339737fe061cc | |
parent | 47064c6ec9f402be7b4d35d8e8e6724e32d14ea5 [diff] [blame] |
Allow path renderers to self-identify This is intended to help debug path renderer chain/selection behavior. Change-Id: I581c4428c2f0cc586504f904255f88d0d4d5eb53 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/283220 Reviewed-by: Greg Daniel <egdaniel@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
diff --git a/src/gpu/ops/GrDashLinePathRenderer.h b/src/gpu/ops/GrDashLinePathRenderer.h index 4434242..267eaf8 100644 --- a/src/gpu/ops/GrDashLinePathRenderer.h +++ b/src/gpu/ops/GrDashLinePathRenderer.h
@@ -14,6 +14,8 @@ class GrDashLinePathRenderer : public GrPathRenderer { private: + const char* name() const final { return "DashLine"; } + CanDrawPath onCanDrawPath(const CanDrawPathArgs&) const override; StencilSupport onGetStencilSupport(const GrShape&) const override {