| Index: src/gpu/GrPath.h
|
| diff --git a/src/gpu/GrPath.h b/src/gpu/GrPath.h
|
| index d324e6a74556e7b4510ac67f6c9d1b7375e64183..2c0040cbf2d7a2d88714693098221d7724d946dc 100644
|
| --- a/src/gpu/GrPath.h
|
| +++ b/src/gpu/GrPath.h
|
| @@ -18,6 +18,9 @@ class GrPath : public GrGpuObject {
|
| public:
|
| SK_DECLARE_INST_COUNT(GrPath);
|
|
|
| + /**
|
| + * Initialize to a path with a fixed stroke. Stroke must not be hairline.
|
| + */
|
| GrPath(GrGpu* gpu, bool isWrapped, const SkPath& skPath, const SkStrokeRec& stroke)
|
| : INHERITED(gpu, isWrapped),
|
| fSkPath(skPath),
|
| @@ -26,6 +29,7 @@ public:
|
| }
|
|
|
| static GrResourceKey ComputeKey(const SkPath& path, const SkStrokeRec& stroke);
|
| + static uint64_t ComputeStrokeKey(const SkStrokeRec&);
|
|
|
| bool isEqualTo(const SkPath& path, const SkStrokeRec& stroke) {
|
| return fSkPath == path && fStroke == stroke;
|
|
|