diff options
author | Jim Van Verth <jvanverth@google.com> | 2017-05-02 10:37:45 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-05-02 17:22:44 +0000 |
commit | 4c9155bd66d86de48069192f4b73bc292cfec135 (patch) | |
tree | f9f9d139f518d52dd8f0a4242ebf4a9a65885e05 /src/core/SkRecorder.cpp | |
parent | c06f309cf52b885b1b1d98c6b045b120a09f5c54 (diff) |
Remove EXPERIMENTAL_SHADOWING, Part 1
Bug: skia:6557
Change-Id: I6482d74be7b360c93141a73dd80c67854530c7a1
Reviewed-on: https://skia-review.googlesource.com/15101
Reviewed-by: Mike Klein <mtklein@chromium.org>
Reviewed-by: Florin Malita <fmalita@chromium.org>
Commit-Queue: Mike Klein <mtklein@chromium.org>
Diffstat (limited to 'src/core/SkRecorder.cpp')
-rw-r--r-- | src/core/SkRecorder.cpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/core/SkRecorder.cpp b/src/core/SkRecorder.cpp index 47e4d74909..c111db6606 100644 --- a/src/core/SkRecorder.cpp +++ b/src/core/SkRecorder.cpp @@ -310,23 +310,6 @@ void SkRecorder::onDrawPicture(const SkPicture* pic, const SkMatrix* matrix, con } } -void SkRecorder::onDrawShadowedPicture(const SkPicture* pic, const SkMatrix* matrix, - const SkPaint* paint, const SkShadowParams& params) { - if (fDrawPictureMode == Record_DrawPictureMode) { - fApproxBytesUsedBySubPictures += pic->approximateBytesUsed(); - APPEND(DrawShadowedPicture, this->copy(paint), - sk_ref_sp(pic), - matrix ? *matrix : SkMatrix::I(), - params); - } else { - // TODO update pic->playback(this) to draw the shadowed pic - SkASSERT(fDrawPictureMode == Playback_DrawPictureMode); - SkAutoCanvasMatrixPaint acmp(this, matrix, paint, pic->cullRect()); - pic->playback(this); - } -} - - void SkRecorder::onDrawVerticesObject(const SkVertices* vertices, SkBlendMode bmode, const SkPaint& paint) { APPEND(DrawVertices, paint, sk_ref_sp(const_cast<SkVertices*>(vertices)), bmode); |