-
Amy spark authored
This commit adds suport in Krita for rendering of HDR, high-bit-depth gradients, and dithering for all output bit depths. Firstly, all gradient operations are now upgraded; this includes color mixing ops (step values, upgraded to 16-bit signed integer), and gradients' default bit depth, which was upgraded to 16-bit integer or the image's bit depth, whichever is higher. Secondly, this commit implements a fully SSE+ vectorizable dithering operator, based on the Pixman low-level graphics library's implementation (MIT-licensed) available at the following commits: https://gitlab.freedesktop.org/pixman/pixman/-/commit/ddcc41b999562efdd9f88daa51ffbf39782748b5 https://gitlab.freedesktop.org/pixman/pixman/-/commit/98b5ec74ca14448349ef6a33a663ad19d446ed6b https://gitlab.freedesktop.org/pixman/pixman/-/commit/cb2ec4268fbde0df3b588ce5cbe2e43e0465452 This version follows closely the original paper of Ulichney's: Robert A. Ulichney. "Void-and-cluster method for dither array generation", Proc...
4cfda40a