aboutsummaryrefslogtreecommitdiffhomepage
path: root/gn
diff options
context:
space:
mode:
authorGravatar csmartdalton <csmartdalton@google.com>2017-03-23 13:38:45 -0600
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-03-23 21:05:45 +0000
commitcc26127920069cbd83e92cca3c69bb56cb165bcc (patch)
tree4454582e03d9b0701fbd4a23042a27cfeaea868b /gn
parentf160ad4d76e9e7ec21c48f92ba05c16ffec566b4 (diff)
Find cubic KLM functionals directly
- Updates GrPathUtils to computes the KLM functionals directly instead of deriving them from their explicit values at the control points. - Updates the utility to return these functionals as a matrix rather than an array of scalar values. - Adds a benchmark for chopCubicAtLoopIntersection. BUG=skia: Change-Id: I97a9b5cf610d33e15c9af96b9d9a8eb4a94b1ca7 Reviewed-on: https://skia-review.googlesource.com/9951 Commit-Queue: Chris Dalton <csmartdalton@google.com> Reviewed-by: Greg Daniel <egdaniel@google.com>
Diffstat (limited to 'gn')
-rw-r--r--gn/bench.gni1
1 files changed, 1 insertions, 0 deletions
diff --git a/gn/bench.gni b/gn/bench.gni
index cf6ce881b3..d2d233fe55 100644
--- a/gn/bench.gni
+++ b/gn/bench.gni
@@ -34,6 +34,7 @@ bench_sources = [
"$_bench/ColorPrivBench.cpp",
"$_bench/ControlBench.cpp",
"$_bench/CoverageBench.cpp",
+ "$_bench/CubicKLMBench.cpp",
"$_bench/DashBench.cpp",
"$_bench/DisplacementBench.cpp",
"$_bench/DrawBitmapAABench.cpp",