DescriptionSimple GPU based dithering:
If dithering is turned on, apply an effect that filters the pixel through
the following pipeline:
for each channel c, add a random value between 0 and 1 to the floating point representation (32-bit) of c.
This is enough to bump some channels up a notch after quantization and creates a small dithering pattern.
Committed: https://skia.googlesource.com/skia/+/f461a8fdf642ba713dcdfb217534652df1eac278
Patch Set 1 #
Total comments: 10
Patch Set 2 : Code reveiw changes #Patch Set 3 : Sync to head #Patch Set 4 : Use ordered dithering #
Total comments: 1
Patch Set 5 : Benches + fixes #Patch Set 6 : Turn off dithering on GM #
Total comments: 1
Patch Set 7 : Random value as threshold #Patch Set 8 : Erroneous flag updated #
Total comments: 4
Patch Set 9 : Add random offset to alpha, too #Patch Set 10 : Bugfixes and gm ignores #Patch Set 11 : Sync to head #
Messages
Total messages: 24 (0 generated)
|