IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

WaylandView QML Type

Represents a view of a surface on an output.

This type was introduced in Qt 5.8.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

WaylandView QML Type

  • Import Statement: import QtWayland.Compositor 1.4

  • Since:: Qt 5.8

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

 

allowDiscardFrontBuffer : 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 primary view is no longer using it.

This can be used to avoid the situation where a secondary view that updates on a lower frequency will throttle the frame rate of the client application.

bufferLocked : 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.

output : WaylandOutput

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

surface : WaylandSurface

This property holds the surface viewed by this WaylandView.

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+