diff options
| author | Morten Johan Sørvig <morten.sorvig@qt.io> | 2018-04-04 12:48:39 +0200 |
|---|---|---|
| committer | Morten Johan Sørvig <morten.sorvig@qt.io> | 2018-04-12 12:14:18 +0000 |
| commit | 0300886c134799c7b3d1331f99cb6777ad568ba8 (patch) | |
| tree | 6dc5f50b70340a8bfd32036b1058c529a6c3d6c2 /src/platformsupport/services/genericunix/qgenericunixservices.cpp | |
| parent | 5c63e6fd7541609c3fadb694c071b42e93b7acf5 (diff) | |
Cocoa: Add QNSView Metal Layer support
Make sure the layer is updated on window resize and
screen change.
Add a support test and print a warning if we try to
create a Metal layer without Metal system support.
This test should ideally be done earlier, before
configuring the QWindow to use Metal.
Link against the Metal framework: The minimum deployment
target is already 10.11 so this does not add additional
deployment requirements.
Change-Id: I0a38e824d0b6042bb52520dfaf0958ce21bb40b8
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/platformsupport/services/genericunix/qgenericunixservices.cpp')
0 files changed, 0 insertions, 0 deletions
