aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrStyle.h
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2016-06-13 10:22:48 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-06-13 10:22:48 -0700
commit398e3f4b9f67e0c7f635e68cae1ff7f42213bbfc (patch)
treeed4f532937b72b00c9521aa90980033d041a1f2c /src/gpu/GrStyle.h
parent2ec06c9b1c861d456b85ffe48b27e4dcae4800cb (diff)
Add control over whether lines are special cased in SkDashPath. Disable when called from GrShape.
Diffstat (limited to 'src/gpu/GrStyle.h')
-rw-r--r--src/gpu/GrStyle.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gpu/GrStyle.h b/src/gpu/GrStyle.h
index 51908344d4..326f800442 100644
--- a/src/gpu/GrStyle.h
+++ b/src/gpu/GrStyle.h
@@ -201,6 +201,8 @@ private:
SkAutoSTArray<4, SkScalar> fIntervals;
};
+ bool applyPathEffect(SkPath* dst, SkStrokeRec* strokeRec, const SkPath& src) const;
+
SkStrokeRec fStrokeRec;
sk_sp<SkPathEffect> fPathEffect;
DashInfo fDashInfo;