diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-12-07 11:37:21 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2020-12-17 15:52:59 +0000 |
commit | 69f7b6be724296f1a67eca90b3a8bd3924972065 (patch) | |
tree | 2924f8bc5095a45a4d9edf36dd21205bc2821177 /tests/auto/widgets | |
parent | 8f0eb2c6b0371afc60028398b908f4500979e7d6 (diff) |
Fix qt_alphaVersion and qt_opaqueVersion in the trivial case
The case no conversion was needed wasn't handled, but was assumed to be
handled by some call sites.
This can speed up QPixmaps on devices with non-standard screen formats.
[ChangeLog][QPixmap] Opaque pixmaps on devices with a non-standard
opaque format will now correctly match format for faster blitting.
Same with semitransparent pixmaps on devices with a non-standard
semitransparent format.
Change-Id: Ia05ff518fea36b7e3ed5c089fa9e8681a02fc574
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
(cherry picked from commit 30811f6428549bbdc54c2566b1493f83d3c24a66)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'tests/auto/widgets')
0 files changed, 0 insertions, 0 deletions