本页内容

Qt Wayland Presentation Time Extension

该模块于 Qt 6.3 版本中引入。

概述

PresentationTime 扩展提供了一种跟踪表面渲染时序的方法。客户端可以请求与表面相关的反馈,然后合成器会发送反馈事件,其中包含该表面在屏幕上呈现的时间。

PresentationTime 该扩展对应于 Wayland 的wp_presentation 接口。

用法

要使用此模块,请按以下方式导入:

import QtWayland.Compositor.PresentationTime

PresentationTime

提供对帧在屏幕上呈现时机的跟踪功能

© 2026 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.