summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/wasm/qwasmwindowstack.h
diff options
context:
space:
mode:
authorLaszlo Agocs <[email protected]>2022-10-19 14:18:34 +0200
committerLaszlo Agocs <[email protected]>2022-10-20 14:05:25 +0000
commit2decbe04170842c23119dc752d45f51021773836 (patch)
tree695cd783af37f011cd2c9487da7fc6a9b367fa09 /src/plugins/platforms/wasm/qwasmwindowstack.h
parent8f985af8b11b6c5d96ceabb3668077f3ee6ca39d (diff)
rhi: gl: Apply a workaround for macOS
We do not yet have a solution on the platform plugin level. All we can tell so far is calling clearDrawable when making an Offscreen surface current has unintended effects in certain situations. As well behaved clients pass in a window when creating the QRhi, we can try to prefer that in place of our QOffscreenSurface while the window is still valid. However, to not potentially deoptimize on other platforms (e.g. where surfaceless contexts are a thing), do this only for macOS for now. Fixes: QTBUG-107666 Change-Id: I23c7340a769f474712f7f6d7bb191c70aeec3924 Reviewed-by: Qt CI Bot <[email protected]> Reviewed-by: Andy Nichols <[email protected]>
Diffstat (limited to 'src/plugins/platforms/wasm/qwasmwindowstack.h')
0 files changed, 0 insertions, 0 deletions