diff options
author | Pavel Artsishevsky <polter.rnd@gmail.com> | 2019-07-30 04:04:45 +0300 |
---|---|---|
committer | Pavel Artsishevsky <polter.rnd@gmail.com> | 2019-08-02 12:46:53 +0300 |
commit | a22bb694ce27b16b3ad672b09700937362b9a320 (patch) | |
tree | 1d3c73d9ec2fbef2d2a1431b71b618f3db451719 /src/gui/kernel/qsurfaceformat.cpp | |
parent | ec62033bc25ed60a6bb9286d07e4f4485800b068 (diff) |
Fix QPainter's ColorDodge and ColorBurn composition modes
Added checking corner cases (more specific formulas) in
color_dodge_op()/color_dodge_op_rgb64() and color_burn_op()/color_burn_op_rgb64()
to produce correct results for any input.
Task-number: QTBUG-77231
Change-Id: I274f80b356bd4236a9176a84a95604c2eb01787a
Reviewed-by: Konstantin Tokarev <annulen@yandex.ru>
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/gui/kernel/qsurfaceformat.cpp')
0 files changed, 0 insertions, 0 deletions