diff options
author | Morten Johan Sørvig <morten.sorvig@qt.io> | 2019-04-29 00:35:42 +0200 |
---|---|---|
committer | Jani Heikkinen <jani.heikkinen@qt.io> | 2019-05-14 11:00:14 +0000 |
commit | c8c4819b7b2f20c2972c31c49547ce5b59fe1240 (patch) | |
tree | 2c226c8b0b9a5ebdaf9a42f44773d0587c52ca01 /src/plugins/platforms/wasm/qwasmopenglcontext.h | |
parent | 4e0f26289244d587714abf8adda932cce5697925 (diff) |
wasm: controlled screen destruction
Freeing OpenGL resources requires a current context,
which (on wasm) requires a screen.
Add a destroy() functions to QWasmScreen, QWasmCompositor, QWasmWindow,
and QWasmBackingStore which facilitates OpenGL cleanup before we start
deleting screen objects.
Task-number: QTBUG-75463
Change-Id: I9954b536416b9147965c74459ccad838d1578778
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
Diffstat (limited to 'src/plugins/platforms/wasm/qwasmopenglcontext.h')
0 files changed, 0 insertions, 0 deletions