QOpenGLCompositorBackingStore Class
A backing store implementation for OpenGL \since 5.4 \internal \ingroup qpa. More...
| Header: | #include <QOpenGLCompositorBackingStore> |
| Inherits: | QPlatformBackingStore |
Detailed Description
This implementation uploads raster-rendered widget windows into textures. It is meant to be used with QOpenGLCompositor that composites the textures onto a single native window using OpenGL. This means that multiple top-level widgets are supported without creating actual native windows for each of them.
Note: It is important to call notifyComposited() from the corresponding platform window's endCompositing() callback (inherited from QOpenGLCompositorWindow).
Note: When implementing QOpenGLCompositorWindow::textures() for windows of type RasterSurface or RasterGLSurface, simply return the list provided by this class' textures().