diff options
author | 2016-07-13 13:27:16 -0700 | |
---|---|---|
committer | 2016-07-13 13:27:16 -0700 | |
commit | dda54455a20dcd89de610bdb80e4a8e9137b80a4 (patch) | |
tree | 5c578a4207775bb102080fb304802ec43926de36 /src/core/SkCanvas.cpp | |
parent | e92badc3ffce83668f76fcfa33a49784346cab1e (diff) |
Remove GrLayerHoister
This relies on https://codereview.chromium.org/1944013002/ (Add legacy flag to allow Skia to remove Ganesh layer hoister) landing first so as to not break the DEPS roll.
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1950523002
Review-Url: https://codereview.chromium.org/1950523002
Diffstat (limited to 'src/core/SkCanvas.cpp')
-rw-r--r-- | src/core/SkCanvas.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/core/SkCanvas.cpp b/src/core/SkCanvas.cpp index 3067772c8a..f893a62e75 100644 --- a/src/core/SkCanvas.cpp +++ b/src/core/SkCanvas.cpp @@ -3012,15 +3012,6 @@ void SkCanvas::onDrawPicture(const SkPicture* picture, const SkMatrix* matrix, } } - SkBaseDevice* device = this->getTopDevice(); - if (device) { - // Canvas has to first give the device the opportunity to render - // the picture itself. - if (device->EXPERIMENTAL_drawPicture(this, picture, matrix, paint)) { - return; // the device has rendered the entire picture - } - } - SkAutoCanvasMatrixPaint acmp(this, matrix, paint, picture->cullRect()); picture->playback(this); } |