WaylandView QML Type

Represents a view of a surface on an output. More...

Import Statement: import QtWayland.Compositor 1.0


Detailed Description

The WaylandView corresponds to the presentation of a surface on a specific output, managing the buffers that contain the contents to be rendered. You can have several views into the same surface.

Property Documentation

bufferLock : bool

This property holds whether the view's buffer is currently locked. When the buffer is locked, advance() will not advance to the next buffer and returns false.

The default is false.

discardFrontBuffers : bool

By default, the view locks the current buffer until advance() is called. Set this property to true to allow Qt to release the buffer when the throttling view is no longer using it.

output : object

This property holds the output on which this view displays its surface.

surface : object

* * * This property holds the surface viewed by this WaylandView.

© 2016 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.