commit | 4bbdeac58cc928dc66296bde3bd06e78070d96b7 | [log] [tgz] |
---|---|---|
author | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Thu Jan 24 21:03:11 2013 +0000 |
committer | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Thu Jan 24 21:03:11 2013 +0000 |
tree | 71033489f3f329bfc8c422c6e04e1df5b734cdb0 | |
parent | 82502e2e3966a9b0e48665f20154eaacd2a452b3 [diff] [blame] |
add optional cull-rect to patheffects, so they can do less work if their results lie outside of the current clip-bounds (the cull rect). Review URL: https://codereview.appspot.com/7206044 git-svn-id: http://skia.googlecode.com/svn/trunk@7378 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/include/effects/SkCornerPathEffect.h b/include/effects/SkCornerPathEffect.h index ee89219..704b7fb 100644 --- a/include/effects/SkCornerPathEffect.h +++ b/include/effects/SkCornerPathEffect.h
@@ -24,7 +24,7 @@ virtual ~SkCornerPathEffect(); virtual bool filterPath(SkPath* dst, const SkPath& src, - SkStrokeRec*) const SK_OVERRIDE; + SkStrokeRec*, const SkRect*) const SK_OVERRIDE; SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkCornerPathEffect)