[Patch] Gradient dithering into pixman
Submitted by Marc Jeanmougin
Assigned to Oded Gabbay
Link to original bug (#106096)
Description
Created attachment 138880 Patch
I have proposed a first patch to demonstrate the effects of having gradient dithering into pixman in https://lists.freedesktop.org/archives/pixman/2018-March/004703.html
Then after some feedback I completely rewrote my patch to acknowledge the remarks, and I proposed the new patch to the mailing list in https://lists.freedesktop.org/archives/pixman/2018-April/004714.html , this time with no more feedback or improvement suggestions.
Therefore I repropose the patch here :
- the gradient walker now deals with argb_t (floats) and not uint32_t
- all gradients are WIDE because of the above change
- WIDE formats (using argb_t) can be dithered on write_back call depending on the "dither" property of the image (set with pixman_image_set_dither)
- The dithering is still random. I could try to implement other ones if it's really needed for the patch to be accepted
Thanks for any feedback or help to merge
Patch 138880, "Patch":
0001-Adds-a-gradient-dithering-function-to-pixman.patch
Version: git master