diff options
author | 2017-06-28 10:02:40 -0400 | |
---|---|---|
committer | 2017-06-28 16:49:31 +0000 | |
commit | a66ef2d1063c9005611890613a7c27bede6ec5cb (patch) | |
tree | 2b7618b84b105e12d732319593adb5a4df481f7f /src/core | |
parent | 2de8cfadc34cd92a6f99659fa565c137b386fa5f (diff) |
2ptconical stage
Initial impl, for the well-behaved case (focal point inside).
MBP numbers -
Before:
3365.87 ! gradient_conical_clamp_shallow srgb
3590.88 ! gradient_conical_clamp_shallow_dither srgb
3376.91 ! gradient_conical_clamp_3color srgb
3351.64 ! gradient_conical_clamp_hicolor srgb
3379.35 ! gradient_conical_clamp srgb
After:
648.93 ! gradient_conical_clamp_shallow srgb
665.12 ! gradient_conical_clamp_shallow_dither srgb
773.98 ! gradient_conical_clamp_3color srgb
1175.35 ! gradient_conical_clamp_hicolor srgb
619.17 ! gradient_conical_clamp srgb
Change-Id: I07b22a758363e1f340a6041bca53bdef74229eb9
Reviewed-on: https://skia-review.googlesource.com/20906
Commit-Queue: Florin Malita <fmalita@chromium.org>
Reviewed-by: Mike Klein <mtklein@chromium.org>
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/SkRasterPipeline.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/SkRasterPipeline.h b/src/core/SkRasterPipeline.h index a02b0e9248..96a5faab23 100644 --- a/src/core/SkRasterPipeline.h +++ b/src/core/SkRasterPipeline.h @@ -107,6 +107,7 @@ struct SkJumper_constants; M(evenly_spaced_2_stop_gradient) \ M(xy_to_unit_angle) \ M(xy_to_radius) \ + M(xy_to_2pt_conical) \ M(byte_tables) M(byte_tables_rgb) \ M(rgb_to_hsl) \ M(hsl_to_rgb) |