| Index: src/core/SkRecorder.cpp
|
| diff --git a/src/core/SkRecorder.cpp b/src/core/SkRecorder.cpp
|
| index 6b3eac9866728fdbf4e7bcc0a96b37809f275001..1a3c8bcbde1e500c4d738582130a08d20c962caa 100644
|
| --- a/src/core/SkRecorder.cpp
|
| +++ b/src/core/SkRecorder.cpp
|
| @@ -206,8 +206,13 @@ void SkRecorder::drawVertices(VertexMode vmode,
|
| indexCount);
|
| }
|
|
|
| -void SkRecorder::drawPatch(const SkPatch& patch, const SkPaint& paint) {
|
| - APPEND(DrawPatch, delay_copy(paint), delay_copy(patch));
|
| +void SkRecorder::onDrawPatch(const SkPoint cubics[12], const SkColor colors[4],
|
| + const SkPoint texCoords[4], SkXfermode* xmode, const SkPaint& paint) {
|
| + APPEND(DrawPatch, delay_copy(paint),
|
| + cubics ? this->copy(cubics, SkPatchUtils::kNumCtrlPts) : NULL,
|
| + colors ? this->copy(colors, SkPatchUtils::kNumCorners) : NULL,
|
| + texCoords ? this->copy(texCoords, SkPatchUtils::kNumCorners) : NULL,
|
| + xmode);
|
| }
|
|
|
| void SkRecorder::willSave() {
|
|
|