skia2/include/effects
Dominic Mazzoni 394d414452 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>
2017-02-16 02:34:44 +00:00
..
Sk1DPathEffect.h remove lots of legacy flags 2016-10-31 19:35:15 +00:00
Sk2DPathEffect.h Reland of "switch patheffects over to sk_sp (patchset #5 id:80001 of https://codereview.chromium.org/1813553005/ )" 2016-03-18 11:22:57 -07:00
SkAlphaThresholdFilter.h remove 4 legacy flags (clients already updated) 2016-10-20 21:08:50 +00:00
SkArcToPathEffect.h Reland of "switch patheffects over to sk_sp (patchset #5 id:80001 of https://codereview.chromium.org/1813553005/ )" 2016-03-18 11:22:57 -07:00
SkArithmeticImageFilter.h Separate SkArithmeticImageFilter from SkXfermodeImageFilter. 2017-01-09 18:31:29 +00:00
SkBlurDrawLooper.h Remove use of SkSmallAllocator from all Loopers. 2017-02-08 21:08:02 +00:00
SkBlurImageFilter.h remove 4 legacy flags (clients already updated) 2016-10-20 21:08:50 +00:00
SkBlurMaskFilter.h "Fix" some ImageFilter fuzzer issues 2016-12-19 17:14:10 +00:00
SkColorFilterImageFilter.h remove 4 legacy flags (clients already updated) 2016-10-20 21:08:50 +00:00
SkColorMatrix.h Revert "Revert of impl colormatrix w/ floats (patchset #7 id:120001 of https://codereview.chromium.org/967943002/)" 2015-03-24 04:13:45 -07:00
SkColorMatrixFilter.h remove 4 legacy flags (clients already updated) 2016-10-20 21:08:50 +00:00
SkComposeImageFilter.h remove 4 legacy flags (clients already updated) 2016-10-20 21:08:50 +00:00
SkCornerPathEffect.h remove lots of legacy flags 2016-10-31 19:35:15 +00:00
SkDashPathEffect.h remove lots of legacy flags 2016-10-31 19:35:15 +00:00
SkDiscretePathEffect.h remove lots of legacy flags 2016-10-31 19:35:15 +00:00
SkDisplacementMapEffect.h remove 4 legacy flags (clients already updated) 2016-10-20 21:08:50 +00:00
SkDropShadowImageFilter.h remove 4 legacy flags (clients already updated) 2016-10-20 21:08:50 +00:00
SkGaussianEdgeShader.h Remove old SkGaussianEdgeShader code 2016-09-16 09:13:15 -07:00
SkGradientShader.h remove 4 legacy flags (clients already updated) 2016-10-20 21:08:50 +00:00
SkHighContrastFilter.h Implement SkHighContrastFilter 2017-02-16 02:34:44 +00:00
SkImageSource.h remove 4 legacy flags (clients already updated) 2016-10-20 21:08:50 +00:00
SkLayerDrawLooper.h Remove use of SkSmallAllocator from all Loopers. 2017-02-08 21:08:02 +00:00
SkLayerRasterizer.h remove lots of legacy flags 2016-10-31 19:35:15 +00:00
SkLightingImageFilter.h remove 4 legacy flags (clients already updated) 2016-10-20 21:08:50 +00:00
SkLumaColorFilter.h Remove SkFallbackAlloc and SkFixedAlloc. 2017-01-16 17:01:57 +00:00
SkMagnifierImageFilter.h Revert "Remove asTextureRef from SkSpecialImage & update effects accordingly" 2017-02-08 12:49:16 +00:00
SkMatrixConvolutionImageFilter.h remove 4 legacy flags (clients already updated) 2016-10-20 21:08:50 +00:00
SkMergeImageFilter.h don't memtion SkXfermode in public 2016-11-22 15:22:00 +00:00
SkMorphologyImageFilter.h remove 4 legacy flags (clients already updated) 2016-10-20 21:08:50 +00:00
SkOffsetImageFilter.h remove 4 legacy flags (clients already updated) 2016-10-20 21:08:50 +00:00
SkPaintFlagsDrawFilter.h C++11 override should now be supported by all of {bots,Chrome,Android,Mozilla} 2015-03-25 18:17:32 -07:00
SkPaintImageFilter.h remove 4 legacy flags (clients already updated) 2016-10-20 21:08:50 +00:00
SkPerlinNoiseShader.h Use SkArenaAlloc in the SkAutoBlitterChoose code. 2017-02-07 20:01:20 +00:00
SkPictureImageFilter.h remove 4 legacy flags (clients already updated) 2016-10-20 21:08:50 +00:00
SkRRectsGaussianEdgeMaskFilter.h Add SkRRectsGaussianEdgeMaskFilter 2016-10-20 14:06:52 +00:00
SkTableColorFilter.h remove 4 legacy flags (clients already updated) 2016-10-20 21:08:50 +00:00
SkTableMaskFilter.h Revert of remove unused TableMaskFilter (patchset #1 id:1 of https://codereview.chromium.org/2156463002/ ) 2016-07-18 08:18:51 -07:00
SkTileImageFilter.h remove 4 legacy flags (clients already updated) 2016-10-20 21:08:50 +00:00
SkXfermodeImageFilter.h Separate SkArithmeticImageFilter from SkXfermodeImageFilter. 2017-01-09 18:31:29 +00:00