aboutsummaryrefslogtreecommitdiffhomepage
path: root/gn/effects.gni
diff options
context:
space:
mode:
authorGravatar Dominic Mazzoni <dmazzoni@chromium.org>2017-02-14 11:15:31 -0800
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-02-16 02:34:44 +0000
commit394d414452a5d654731b0b5a3669f8e2420048b3 (patch)
tree78dca199a9b3fb2abb5b62e0dcc537cb7c257348 /gn/effects.gni
parente1caee1ad884def91b8afb50e5672f1f0ee278f1 (diff)
Implement SkHighContrastFilter
This is a color filter to apply several contrast adjustments for users with low vision, including inverting the colors (in either RGB or HSL space), applying gamma correction, converting to grayscale, and increasing the contrast. BUG=skia:6235 CQ_INCLUDE_TRYBOTS=skia.primary:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-SKNX_NO_SIMD Change-Id: Icb8f3e290932d8bcd9387fb1f39dd20767e15cf6 Reviewed-on: https://skia-review.googlesource.com/7460 Commit-Queue: Mike Klein <mtklein@chromium.org> Reviewed-by: Mike Reed <reed@google.com> Reviewed-by: Mike Klein <mtklein@chromium.org>
Diffstat (limited to 'gn/effects.gni')
-rw-r--r--gn/effects.gni1
1 files changed, 1 insertions, 0 deletions
diff --git a/gn/effects.gni b/gn/effects.gni
index d79481fb90..3ae4ebec3e 100644
--- a/gn/effects.gni
+++ b/gn/effects.gni
@@ -40,6 +40,7 @@ skia_effects_sources = [
"$_src/effects/SkEmbossMaskFilter.cpp",
"$_src/effects/SkImageSource.cpp",
"$_src/effects/SkGaussianEdgeShader.cpp",
+ "$_src/effects/SkHighContrastFilter.cpp",
"$_src/effects/SkLayerDrawLooper.cpp",
"$_src/effects/SkLayerRasterizer.cpp",
"$_src/effects/SkLightingImageFilter.cpp",