diff options
Diffstat (limited to 'bench/PathBench.cpp')
-rw-r--r-- | bench/PathBench.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bench/PathBench.cpp b/bench/PathBench.cpp index 5fe002541a..057a2b028c 100644 --- a/bench/PathBench.cpp +++ b/bench/PathBench.cpp @@ -275,6 +275,12 @@ protected: fPoints[(fCurrPoint + 1) & (kNumPoints - 1)]); fCurrPoint += 2; break; + case SkPath::kConic_Verb: + path->conicTo(fPoints[(fCurrPoint + 0) & (kNumPoints - 1)], + fPoints[(fCurrPoint + 1) & (kNumPoints - 1)], + SK_ScalarHalf); + fCurrPoint += 2; + break; case SkPath::kCubic_Verb: path->cubicTo(fPoints[(fCurrPoint + 0) & (kNumPoints - 1)], fPoints[(fCurrPoint + 1) & (kNumPoints - 1)], |