Index: src/gpu/GrGpu.h |
diff --git a/src/gpu/GrGpu.h b/src/gpu/GrGpu.h |
index 71d77c841f7444cd36422665f4a4327de21deede..3e551dc03d41d99fc98255b6b0804c265b335a4d 100644 |
--- a/src/gpu/GrGpu.h |
+++ b/src/gpu/GrGpu.h |
@@ -124,7 +124,7 @@ public: |
* Creates a path object that can be stenciled using stencilPath(). It is |
* only legal to call this if the caps report support for path stenciling. |
*/ |
- GrPath* createPath(const SkPath& path); |
+ GrPath* createPath(const SkPath& path, const SkStrokeRec& stroke); |
/** |
* Returns an index buffer that can be used to render quads. |
@@ -348,7 +348,7 @@ protected: |
kDrawLines_DrawType, |
kDrawTriangles_DrawType, |
kStencilPath_DrawType, |
- kFillPath_DrawType, |
+ kDrawPath_DrawType, |
}; |
DrawType PrimTypeToDrawType(GrPrimitiveType type) { |
@@ -442,7 +442,7 @@ private: |
virtual GrRenderTarget* onWrapBackendRenderTarget(const GrBackendRenderTargetDesc&) = 0; |
virtual GrVertexBuffer* onCreateVertexBuffer(uint32_t size, bool dynamic) = 0; |
virtual GrIndexBuffer* onCreateIndexBuffer(uint32_t size, bool dynamic) = 0; |
- virtual GrPath* onCreatePath(const SkPath& path) = 0; |
+ virtual GrPath* onCreatePath(const SkPath& path, const SkStrokeRec& stroke) = 0; |
// overridden by backend-specific derived class to perform the clear and |
// clearRect. NULL rect means clear whole target. |
@@ -453,7 +453,7 @@ private: |
// overridden by backend-specific derived class to perform the path stenciling. |
virtual void onGpuStencilPath(const GrPath*, SkPath::FillType) = 0; |
- virtual void onGpuFillPath(const GrPath*, SkPath::FillType) = 0; |
+ virtual void onGpuDrawPath(const GrPath*, const SkStrokeRec& stroke, SkPath::FillType) = 0; |
// overridden by backend-specific derived class to perform flush |
virtual void onForceRenderTargetFlush() = 0; |
@@ -499,7 +499,7 @@ private: |
virtual void onStencilPath(const GrPath* path, const SkStrokeRec& stroke, |
SkPath::FillType) SK_OVERRIDE; |
- virtual void onFillPath(const GrPath* path, const SkStrokeRec& stroke, |
+ virtual void onDrawPath(const GrPath* path, const SkStrokeRec& stroke, |
SkPath::FillType) SK_OVERRIDE; |
// readies the pools to provide vertex/index data. |