Index: src/gpu/GrGpu.h |
diff --git a/src/gpu/GrGpu.h b/src/gpu/GrGpu.h |
index 00791be054a1e55ceb7c1c36c15c2a465677c7b9..e8ccc26b1d8c9a0e1668f6e8323a3341b65ba9ce 100644 |
--- a/src/gpu/GrGpu.h |
+++ b/src/gpu/GrGpu.h |
@@ -337,6 +337,7 @@ protected: |
kDrawTriangles_DrawType, |
kStencilPath_DrawType, |
kDrawPath_DrawType, |
+ kDrawPaths_DrawType, |
}; |
DrawType PrimTypeToDrawType(GrPrimitiveType type) { |
@@ -438,6 +439,8 @@ private: |
// overridden by backend-specific derived class to perform the path stenciling. |
virtual void onGpuStencilPath(const GrPath*, SkPath::FillType) = 0; |
virtual void onGpuDrawPath(const GrPath*, SkPath::FillType) = 0; |
+ virtual void onGpuDrawPaths(size_t, const GrPath**, const SkMatrix*, |
+ SkPath::FillType, SkStrokeRec::Style) = 0; |
// overridden by backend-specific derived class to perform flush |
virtual void onForceRenderTargetFlush() = 0; |
@@ -483,6 +486,9 @@ private: |
virtual void onStencilPath(const GrPath*, SkPath::FillType) SK_OVERRIDE; |
virtual void onDrawPath(const GrPath*, SkPath::FillType, |
const GrDeviceCoordTexture* dstCopy) SK_OVERRIDE; |
+ virtual void onDrawPaths(size_t, const GrPath**, const SkMatrix*, |
+ SkPath::FillType, SkStrokeRec::Style, |
+ const GrDeviceCoordTexture* dstCopy) SK_OVERRIDE; |
// readies the pools to provide vertex/index data. |
void prepareVertexPool(); |