Index: src/core/SkPicturePlayback.cpp |
diff --git a/src/core/SkPicturePlayback.cpp b/src/core/SkPicturePlayback.cpp |
index 3316fe958e2aa68b32bae3b570d20c2411c31483..beb745ff1a6b3c38c482d5fd9ee6851fda45f8b2 100644 |
--- a/src/core/SkPicturePlayback.cpp |
+++ b/src/core/SkPicturePlayback.cpp |
@@ -257,6 +257,15 @@ void SkPicturePlayback::handleOp(SkReadBuffer* reader, |
(void)reader->skip(length); |
// skip handles padding the read out to a multiple of 4 |
} break; |
+ case DRAW_DRAWABLE: |
+ canvas->drawDrawable(fPictureData->getDrawable(reader)); |
+ break; |
+ case DRAW_DRAWABLE_MATRIX: { |
+ SkMatrix matrix; |
+ reader->readMatrix(&matrix); |
+ SkDrawable* drawable = fPictureData->getDrawable(reader); |
+ canvas->drawDrawable(drawable, &matrix); |
+ } break; |
case DRAW_DRRECT: { |
const SkPaint& paint = *fPictureData->getPaint(reader); |
SkRRect outer, inner; |