diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2020-08-05 11:07:45 +0200 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2020-08-18 00:35:21 +0200 |
commit | 1fc7ca091b3fdda52381a383318a3a752ec21132 (patch) | |
tree | bc794ba56de848a543c9167856fe9cf60b938de2 /src/plugins/platforms/cocoa/qcocoawindow.h | |
parent | d1111632e29124531d5b4512e0492314caaae396 (diff) |
macOS: Remove support for surface-backed views
Our deployment target is 10.14, which enables layer-backing by default,
and our layer-backing support nowadays is stable enough that we don't
need to maintain any of the old code paths for compatibility.
The wantsBestResolutionOpenGLSurface property on NSView is only relevant
for surface-backed views, so we no longer need to deal with it.
Change-Id: I8aef4ac99371113d463ac35eee648a8a2fd1ea72
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
Diffstat (limited to 'src/plugins/platforms/cocoa/qcocoawindow.h')
-rw-r--r-- | src/plugins/platforms/cocoa/qcocoawindow.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/plugins/platforms/cocoa/qcocoawindow.h b/src/plugins/platforms/cocoa/qcocoawindow.h index 927c3bd751..d7c4a66514 100644 --- a/src/plugins/platforms/cocoa/qcocoawindow.h +++ b/src/plugins/platforms/cocoa/qcocoawindow.h @@ -261,8 +261,6 @@ public: // for QNSView bool m_inSetStyleMask; QCocoaMenuBar *m_menubar; - bool m_needsInvalidateShadow; - bool m_frameStrutEventsEnabled; QRect m_exposedRect; int m_registerTouchCount; |