Index: src/gpu/SkGpuDevice.cpp |
diff --git a/src/gpu/SkGpuDevice.cpp b/src/gpu/SkGpuDevice.cpp |
index 48ae845e3bb36afcc8f5d520c34d0e4bae717d1d..95a2622546b9d7dab16e34736b9cadc76b3e3c3f 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(); |