WaylandView QML Type
出力上のサーフェスのビューを表します。詳細...
Import Statement: | import QtWayland.Compositor |
In C++: | QWaylandView |
プロパティ
- allowDiscardFrontBuffer : bool
- bufferLocked : bool
- output : WaylandOutput
- surface : WaylandSurface
詳細説明
WaylandViewはレンダリングされるコンテンツを含むバッファを管理し、特定の出力でのサーフェスの表示に対応する。同じサーフェスに複数のビューを持つことができます。
プロパティの説明
allowDiscardFrontBuffer : bool |
デフォルトでは、ビューはadvance()が呼び出されるまで現在のバッファをロックします。このプロパティをtrueに設定すると、プライマリビューがバッファを使用しなくなったときにQtがバッファを解放します。
これは、低い頻度で更新されるセカンダリビューがクライアントアプリケーションのフレームレートを低下させる状況を回避するために使用できます。
bufferLocked : bool |
このプロパティは、ビューのバッファが現在ロックされているかどうかを保持します。バッファがロックされている場合、advance() は次のバッファに進まず、false
を返します。
デフォルトはfalse
です。
output : WaylandOutput |
このプロパティは、このビューがそのサーフェスを表示する出力を保持する。
surface : WaylandSurface |
このプロパティは、このWaylandView によって表示されるサーフェスを保持します。
© 2025 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.