| Index: src/core/SkRecorder.cpp
|
| diff --git a/src/core/SkRecorder.cpp b/src/core/SkRecorder.cpp
|
| index c7869bb6a46b1a4ea07a03fe1b7e846609165ca5..33c538012f77fe58683e2322a6cf1d4d72707d2c 100644
|
| --- a/src/core/SkRecorder.cpp
|
| +++ b/src/core/SkRecorder.cpp
|
| @@ -305,6 +305,20 @@ void SkRecorder::onDrawPicture(const SkPicture* pic, const SkMatrix* matrix, con
|
| }
|
| }
|
|
|
| +void SkRecorder::onDrawShadowedPicture(const SkPicture* pic,
|
| + const SkMatrix* matrix,
|
| + const SkPaint* paint) {
|
| + if (fDrawPictureMode == Record_DrawPictureMode) {
|
| + fApproxBytesUsedBySubPictures += SkPictureUtils::ApproximateBytesUsed(pic);
|
| + APPEND(DrawShadowedPicture, this->copy(paint), pic, matrix ? *matrix : SkMatrix::I());
|
| + } else {
|
| + SkASSERT(fDrawPictureMode == Playback_DrawPictureMode);
|
| + SkAutoCanvasMatrixPaint acmp(this, matrix, paint, pic->cullRect());
|
| + pic->playback(this);
|
| + }
|
| +}
|
| +
|
| +
|
| void SkRecorder::onDrawVertices(VertexMode vmode,
|
| int vertexCount, const SkPoint vertices[],
|
| const SkPoint texs[], const SkColor colors[],
|
|
|