aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/gl/GrGLPathRendering.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/gl/GrGLPathRendering.h')
-rw-r--r--src/gpu/gl/GrGLPathRendering.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gpu/gl/GrGLPathRendering.h b/src/gpu/gl/GrGLPathRendering.h
index 5133506a42..f314563688 100644
--- a/src/gpu/gl/GrGLPathRendering.h
+++ b/src/gpu/gl/GrGLPathRendering.h
@@ -39,11 +39,11 @@ public:
virtual GrPathRange* createGlyphs(const SkTypeface*,
const SkDescriptor*,
const SkStrokeRec&) SK_OVERRIDE;
- virtual void stencilPath(const GrPath*, SkPath::FillType) SK_OVERRIDE;
- virtual void drawPath(const GrPath*, SkPath::FillType) SK_OVERRIDE;
+ virtual void stencilPath(const GrPath*, const GrStencilSettings&) SK_OVERRIDE;
+ virtual void drawPath(const GrPath*, const GrStencilSettings&) SK_OVERRIDE;
virtual void drawPaths(const GrPathRange*, const uint32_t indices[], int count,
const float transforms[], PathTransformType,
- SkPath::FillType) SK_OVERRIDE;
+ const GrStencilSettings&) SK_OVERRIDE;
/* Called when the 3D context state is unknown. */
void resetContext();
@@ -107,7 +107,7 @@ private:
};
const Caps& caps() const { return fCaps; }
- void flushPathStencilSettings(SkPath::FillType fill);
+ void flushPathStencilSettings(const GrStencilSettings&);
// NV_path_rendering v1.2
void stencilThenCoverFillPath(GrGLuint path, GrGLenum fillMode,