diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2018-03-19 16:59:24 +0100 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2018-03-20 12:56:57 +0000 |
commit | 941aea658fe8948e842763612cef7b34b8633448 (patch) | |
tree | 3f97b6aa27614e95926226757c4f23b288a443f7 /examples/gui/rasterwindow | |
parent | 9b604a151a6ee603506001434d16b063df3f48b1 (diff) |
macOS: Do layer updates via the CALayerDelegate protocol
The updateLayer function is only called when the layer is a
_NSViewBackingLayer instance, which is what the default
implementation of [NSView makeBackingLayer] returns.
Once we move to optionally returning a CAMetalLayer, we need
to use the more generic displayLayer: API, so we do that now
as a first step.
This matches the way we draw and send expose events on iOS.
Change-Id: I49721ff005ca9dfddebff645705f96b5ab46abb4
Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
Diffstat (limited to 'examples/gui/rasterwindow')
0 files changed, 0 insertions, 0 deletions