diff options
| author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2023-02-28 16:25:42 +0100 |
|---|---|---|
| committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2023-03-02 12:51:14 +0100 |
| commit | e7d038c027c3fd80f7f6714df3d6e1a5bb7b4968 (patch) | |
| tree | af8ad69278c26964375e2e81e4d4b64a0536f5cb /tests/auto/sql/kernel/qsqldatabase/tst_qsqldatabase.cpp | |
| parent | d57ff481fcf870d2ff40b39782dfd2fcd9726c59 (diff) | |
iOS: Respect QSurfaceFormat::colorSpace() when using Metal
Unlike on macOS, there's no colorSpace property on UIWindow or UIView,
but CAMetalLayer has one, which allows us to tell Core Animation that
the layer targets a specific color space, and Core Animation will then
do the rest of the color matching to the target display.
Now that we use Metal to flush raster content, this is even more useful.
Task-number: QTBUG-108094
Pick-to: 6.5
Change-Id: Ib04b42d9baa296b608983db38faf0398430db093
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'tests/auto/sql/kernel/qsqldatabase/tst_qsqldatabase.cpp')
0 files changed, 0 insertions, 0 deletions
