qt6-bb10/src/plugins/platforms/wasm
Laszlo Agocs 53a6f7b783 eglfs: Fix raster windows
Also sanitize the initial WebAssembly hack. Both eglfs and wasm lack the concept
of true raster windows. A QWindow with RasterSurface is rendered with OpenGL
no matter what. The two platforms took two different approaches to work around
the rest of the machinery:

- wasm disabled the QOpenGLContext warning for non-OpenGL QWindows,

- eglfs forced the QWindow surfaceType to OpenGLSurface whenever it was
  originally set to RasterSurface.

Now, the latter breaks since c4e9eabc30, leaving
all raster window applications failing on eglfs, because flush in the backingstore
is now checking the surface type and disallows OpenGLSurface windows. (just like
how QOpenGLContext disallows RasterSurface windows)

To solve all this correctly, introduce a new platform capability,
OpenGLOnRasterSurface, and remove the special handling in the platform plugins.

Change-Id: I7785dfb1c955577bbdccdc14ebaaac5babdec57c
Fixes: QTBUG-77100
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
2019-08-07 11:46:19 +00:00
..
main.cpp
qtloader.js
qtlogo.svg
qwasmbackingstore.cpp
qwasmbackingstore.h
qwasmcompositor.cpp wasm: make maximized and fullscreen windows not draggable 2018-09-28 02:22:19 +00:00
qwasmcompositor.h
qwasmcursor.cpp
qwasmcursor.h
qwasmeventdispatcher.cpp
qwasmeventdispatcher.h
qwasmeventtranslator.cpp wasm: send mouse release to proper window 2018-12-16 21:29:15 +00:00
qwasmeventtranslator.h wasm: send mouse release to proper window 2018-12-16 21:29:15 +00:00
qwasmfontdatabase.cpp
qwasmfontdatabase.h
qwasmintegration.cpp eglfs: Fix raster windows 2019-08-07 11:46:19 +00:00
qwasmintegration.h
qwasmopenglcontext.cpp
qwasmopenglcontext.h
qwasmscreen.cpp
qwasmscreen.h
qwasmstylepixmaps_p.h
qwasmtheme.cpp
qwasmtheme.h
qwasmwindow.cpp Wasm: remove debug output. 2019-01-29 18:52:03 +00:00
qwasmwindow.h wasm: make maximized and fullscreen windows not draggable 2018-09-28 02:22:19 +00:00
wasm.json
wasm.pro wasm: fix qpa plugin build system integration 2018-11-21 23:08:05 +00:00
wasm_shell.html