summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorJan Ziak <0xe2.0x9a.0x9b@gmail.com>2019-10-12 08:58:23 +0200
committerEmmanuele Bassi <ebassi@gnome.org>2020-06-26 11:45:29 +0100
commit679e9ed7b056ec3b17921863b5c7d2873a43c3b3 (patch)
tree6aec31f93e2bf0d2b10642398a7c56183aa49e34 /README.md
parentc7eada6cac522d095fdd13770619d807ca538346 (diff)
downloadgdk-pixbuf-679e9ed7b056ec3b17921863b5c7d2873a43c3b3.tar.gz
pixops: Avoid division during alpha scaling
This patch significantly improves performance of gtksourceview-2.10.5 full-screen redraw on a 4K display with an alpha channel. Divisions by the common value 0xff0000 are converted into multiplications by an optimizing C compiler. For other values, 3 divisions are reduced to 1 division, 3 multiplications and some float-to-int conversions.
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions