QWaylandSurfaceGrabber Class▲
-
Header: QWaylandSurfaceGrabber
-
Since: Qt 5.8
-
qmake: QT += waylandcompositor
Detailed Description▲
Sometimes it is needed to get the contents of a surface, for example to provide a screenshot to the user. The QWaylandSurfaceGrabber class provides a simple method to do so, without having to care what type of buffer backs the surface, be it shared memory, OpenGL or something else.