| Index: src/gpu/SkGpuDevice.cpp
|
| diff --git a/src/gpu/SkGpuDevice.cpp b/src/gpu/SkGpuDevice.cpp
|
| index 3ba2abcc85fee302d022e7277fa1af6b3b2a1ba0..3e6bf1b6e429739a9275d656a93f6874c83ba2fc 100644
|
| --- a/src/gpu/SkGpuDevice.cpp
|
| +++ b/src/gpu/SkGpuDevice.cpp
|
| @@ -1872,7 +1872,13 @@ static void wrap_texture(GrTexture* texture, int width, int height, SkBitmap* re
|
| result->setPixelRef(SkNEW_ARGS(SkGrPixelRef, (info, texture)))->unref();
|
| }
|
|
|
| -bool SkGpuDevice::EXPERIMENTAL_drawPicture(SkCanvas* mainCanvas, const SkPicture* picture) {
|
| +bool SkGpuDevice::EXPERIMENTAL_drawPicture(SkCanvas* mainCanvas, const SkPicture* picture,
|
| + const SkMatrix* matrix, const SkPaint* paint) {
|
| + // todo: should handle these natively
|
| + if (matrix || paint) {
|
| + return false;
|
| + }
|
| +
|
| fContext->getLayerCache()->processDeletedPictures();
|
|
|
| SkPicture::AccelData::Key key = GPUAccelData::ComputeAccelDataKey();
|
|
|