diff options
author | 2018-04-12 12:45:58 -0400 | |
---|---|---|
committer | 2018-04-12 17:21:10 +0000 | |
commit | 6aab2ab762beb0d255529a914e181e927a8e6307 (patch) | |
tree | 19b1157d4574ac58271f8fbd9d5af04b8e4c971a /tools/debugger/SkDebugCanvas.cpp | |
parent | 9438790b66fd2193a47971f66c44f7cec80a795a (diff) |
Include shadow ops in the debugger.
Bug: skia:7803
Change-Id: Ic4441e696a56b898e5095f747ab1b9a9c0e0f858
Reviewed-on: https://skia-review.googlesource.com/121100
Commit-Queue: Derek Sollenberger <djsollen@google.com>
Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
Diffstat (limited to 'tools/debugger/SkDebugCanvas.cpp')
-rw-r--r-- | tools/debugger/SkDebugCanvas.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/debugger/SkDebugCanvas.cpp b/tools/debugger/SkDebugCanvas.cpp index 156f957de3..67f4bd3dc9 100644 --- a/tools/debugger/SkDebugCanvas.cpp +++ b/tools/debugger/SkDebugCanvas.cpp @@ -468,6 +468,10 @@ void SkDebugCanvas::onDrawVerticesObject(const SkVertices* vertices, SkBlendMode bmode, paint)); } +void SkDebugCanvas::onDrawShadowRec(const SkPath& path, const SkDrawShadowRec& rec) { + this->addDrawCommand(new SkDrawShadowCommand(path, rec)); +} + void SkDebugCanvas::willRestore() { this->addDrawCommand(new SkRestoreCommand()); this->INHERITED::willRestore(); |