summaryrefslogtreecommitdiffstats
path: root/config.tests/common
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2018-09-05 12:18:59 +0200
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2018-09-09 22:13:28 +0000
commitc0e94fa0cd2a2e6216dae5da0dde289fb689d22d (patch)
treed4def9da2ba6be0cb0352817062247a2192c1f9e /config.tests/common
parent85917c4b72a498e86d6dd057a5b6df26c0565fc4 (diff)
macOS: Use NSOpenGLContext's drawable directly to track active drawable
We don't need a separate QWindow pointer to keep track of the active window, it's recorded already by the NSOpenGLContext's drawable. And we don't need to juggle the drawable when the window is hidden, the drawable is still valid after the window is re-shown, and we call update on every frame (for now) anyways, which will reconfigure the drawable if needed. Change-Id: I199b6c027226dd239c13ecc4aba86986ca09a1eb Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
Diffstat (limited to 'config.tests/common')
0 files changed, 0 insertions, 0 deletions