diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2019-09-19 18:15:18 +0200 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2019-09-23 13:59:00 +0200 |
commit | 0642ca3528b1020acf1deadf8bf6d374c0db05f7 (patch) | |
tree | 1ede19f3ba7b09fab82b900b7ef4316d1b4cfaf5 /tests/auto/corelib | |
parent | 04dcc902eb64d94653a12005f3aedf32be1011c3 (diff) |
macOS: Don't update Metal layer's drawableSize automatically
Like our other rendering code paths, the Metal path should allow the user
to resize their surface when they see fit. This is the case today with
e.g QBackingStore::resize() and QOpenGLPaintDevice::setSize().
[ChangeLog][macOS] The drawableSize of Metal layers is no longer updated
automatically on window resize or screen change. Update the size manually
in response to resizeEvent(), or at the start of each frame, as needed.
Change-Id: I9ed6d4326d0e0a3f4e3c63984d3b193e8bb77cae
Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
Diffstat (limited to 'tests/auto/corelib')
0 files changed, 0 insertions, 0 deletions