diff options
author | 2014-06-19 14:14:06 -0700 | |
---|---|---|
committer | 2014-06-19 14:14:06 -0700 | |
commit | f461a8fdf642ba713dcdfb217534652df1eac278 (patch) | |
tree | 6e1e18eaf27c8904e403ad5aa819f14972eff3df /gyp/gpu.gypi | |
parent | 8b2fac4b25dfb8180c54707f8e19698a9fddde07 (diff) |
Simple GPU based dithering:
If dithering is turned on, apply an effect that filters the pixel through
the following pipeline:
for each channel c:
1. Compute quantized colors [low, high] that c is between
2. Pick high by flipping a coin weighted by (c - low)
R=bsalomon@google.com, egdaniel@google.com, robertphillips@google.com
Author: krajcevski@google.com
Review URL: https://codereview.chromium.org/321253002
Diffstat (limited to 'gyp/gpu.gypi')
-rw-r--r-- | gyp/gpu.gypi | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gyp/gpu.gypi b/gyp/gpu.gypi index fed08f2c1a..c03f8eff3b 100644 --- a/gyp/gpu.gypi +++ b/gyp/gpu.gypi @@ -157,6 +157,8 @@ '<(skia_src_path)/gpu/effects/GrDashingEffect.h', '<(skia_src_path)/gpu/effects/GrDistanceFieldTextureEffect.cpp', '<(skia_src_path)/gpu/effects/GrDistanceFieldTextureEffect.h', + '<(skia_src_path)/gpu/effects/GrDitherEffect.cpp', + '<(skia_src_path)/gpu/effects/GrDitherEffect.h', '<(skia_src_path)/gpu/effects/GrOvalEffect.cpp', '<(skia_src_path)/gpu/effects/GrOvalEffect.h', '<(skia_src_path)/gpu/effects/GrRRectEffect.cpp', |