diff options
author | 2013-04-14 02:40:50 +0000 | |
---|---|---|
committer | 2013-04-14 02:40:50 +0000 | |
commit | 8d551011966a1bc14a654dbde704f343c0e222b6 (patch) | |
tree | 6b673139aae31e58f9e3b3df80c543809f1163e9 /include | |
parent | 4af6280aa366a02540f34c48f89ea73ce3d27974 (diff) |
add special-case for chopping at exactly half for rational-quads (2-3x faster)
git-svn-id: http://skia.googlecode.com/svn/trunk@8672 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include')
-rw-r--r-- | include/core/SkGeometry.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/core/SkGeometry.h b/include/core/SkGeometry.h index 0d1081fb2d..8bdbbe09e0 100644 --- a/include/core/SkGeometry.h +++ b/include/core/SkGeometry.h @@ -218,6 +218,7 @@ struct SkRationalQuad { void evalAt(SkScalar t, SkPoint* pt) const; void chopAt(SkScalar t, SkRationalQuad dst[2]) const; + void chop(SkRationalQuad dst[2]) const; }; #endif |