| Index: src/gpu/SkGpuDevice.cpp
|
| diff --git a/src/gpu/SkGpuDevice.cpp b/src/gpu/SkGpuDevice.cpp
|
| index c35ff41219be49f68297780abb2303c1378be17e..be461ee580b2a9b38b20ee9ab77bd73905432f2c 100644
|
| --- a/src/gpu/SkGpuDevice.cpp
|
| +++ b/src/gpu/SkGpuDevice.cpp
|
| @@ -1707,6 +1707,13 @@ void SkGpuDevice::drawVertices(const SkDraw& draw, SkCanvas::VertexMode vmode,
|
| indexCount);
|
| }
|
|
|
| +void SkGpuDevice::drawPatch(const SkDraw& draw, const SkPatch& patch, const SkPaint& paint) {
|
| + SkPatch::VertexData data;
|
| + patch.getVertexData(&data, draw.fMatrix->getScaleX() * 10, draw.fMatrix->getScaleY() * 10);
|
| + this->drawVertices(draw, SkCanvas::kTriangles_VertexMode, data.fVertexCount, data.fPoints,
|
| + data.fTexCoords, data.fColors, NULL, data.fIndices, data.fIndexCount, paint);
|
| +}
|
| +
|
| ///////////////////////////////////////////////////////////////////////////////
|
|
|
| void SkGpuDevice::drawText(const SkDraw& draw, const void* text,
|
|
|