diff options
author | Morten Johan Sørvig <morten.sorvig@qt.io> | 2017-09-04 14:54:18 +0200 |
---|---|---|
committer | Morten Johan Sørvig <morten.sorvig@qt.io> | 2017-09-05 09:32:35 +0000 |
commit | 4250993c4280b80f472af77efa6cf77410b383c1 (patch) | |
tree | 6431a7a474784b68749a1009c4b9f8f6773ddbfe /LICENSE.LGPLv3 | |
parent | a2a5b7a697a90c5821ee675c943481bf0631aeba (diff) |
macOS: Don’t color convert the backing store
The backing store was assigned the sRGB color profile
as an unintended side effect of the QImage -> CGImage
conversion function refactoring in ac899f6d. This
caused Core Graphics to add a color convert step, which
in some cases caused performance issues.
Restore fast, previous behavior by assigning the target
display color profile to the backing store image.
Color correctness is still a goal, but we’ll add API
for it and make it opt-in.
Task-number: QTBUG-61384
Change-Id: Ia36d29404c64d8030a100f6a71816d84e484308b
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'LICENSE.LGPLv3')
0 files changed, 0 insertions, 0 deletions