Index: src/gpu/GrGpu.cpp |
diff --git a/src/gpu/GrGpu.cpp b/src/gpu/GrGpu.cpp |
index 3a342b6137bcb47e7dd88c81e3d25d3b8f44db21..328b40ed83e16d3927deeeb09639019614f7be58 100644 |
--- a/src/gpu/GrGpu.cpp |
+++ b/src/gpu/GrGpu.cpp |
@@ -409,6 +409,22 @@ void GrGpu::onDrawPath(const GrPath* path, SkPath::FillType fill, |
this->onGpuDrawPath(path, fill); |
} |
+void GrGpu::onDrawPaths(size_t pathCount, const GrPath** paths, |
+ const SkMatrix* transforms, SkPath::FillType fill, |
+ SkStrokeRec::Style style, |
+ const GrDeviceCoordTexture* dstCopy) { |
+ this->handleDirtyContext(); |
+ |
+ drawState()->setDefaultVertexAttribs(); |
+ |
+ GrDrawState::AutoRestoreEffects are; |
+ if (!this->setupClipAndFlushState(kDrawPaths_DrawType, dstCopy, &are, NULL)) { |
+ return; |
+ } |
+ |
+ this->onGpuDrawPaths(pathCount, paths, transforms, fill, style); |
+} |
+ |
void GrGpu::finalizeReservedVertices() { |
SkASSERT(NULL != fVertexPool); |
fVertexPool->unlock(); |