Fix swapchain always been recreate on high dpi screens
QSurface stored size in points, QRhiSwapChain uses true pixels.
On high dpi screens (such as macOS retina), these are not the same,
so swapchain is constantly recreated.
Change-number: QTBUG-142683
Pick-to: 6.11 6.10 6.9 6.8 6.5
Change-Id: I4fde91893fb5b9902fe1cdb61d28f5f8b0264e81
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
| commit | 8e4bb418b760886c7d7eb34358d119498c6fc616 |
| parent | 6420e806c00888f584a4dcc160337ef7072d40b6 |
| author | Mike Krus <mike.krus@kdab.com> |
| committer | Mike Krus <mike.krus@kdab.com> |
| commit time | Mon, 5 Jan 2026 15:03:42 +0000 |