Index: src/gpu/gl/GrGLPath.h |
diff --git a/src/gpu/gl/GrGLPath.h b/src/gpu/gl/GrGLPath.h |
index f02f7052d51090740b215622ada323348aadb06c..b394050277df1620f9d37c1c7957e078813a1cc7 100644 |
--- a/src/gpu/gl/GrGLPath.h |
+++ b/src/gpu/gl/GrGLPath.h |
@@ -25,11 +25,13 @@ public: |
static void InitPathObject(GrGLGpu*, |
GrGLuint pathID, |
const SkPath&, |
- const SkStrokeRec&); |
+ const GrStrokeInfo&); |
- GrGLPath(GrGLGpu* gpu, const SkPath& path, const SkStrokeRec& stroke); |
+ GrGLPath(GrGLGpu* gpu, const SkPath& path, const GrStrokeInfo& stroke); |
GrGLuint pathID() const { return fPathID; } |
+ bool shouldStroke() const { return fShouldStroke; } |
+ bool shouldFill() const { return fShouldFill; } |
protected: |
void onRelease() override; |
void onAbandon() override; |
@@ -39,6 +41,8 @@ private: |
size_t onGpuMemorySize() const override { return 100; } |
GrGLuint fPathID; |
+ bool fShouldStroke; |
+ bool fShouldFill; |
typedef GrPath INHERITED; |
}; |