我的环境:
qt.scenegraph.general: QSG: basic render loop
qt.scenegraph.general: Using sg animation driver
qt.scenegraph.general: texture atlas dimensions: 2048x2048
qt.scenegraph.general: R/G/B/A Buffers: 8 8 8 0
qt.scenegraph.general: Depth Buffer: 24
qt.scenegraph.general: Stencil Buffer: 8
qt.scenegraph.general: Samples: 0
qt.scenegraph.general: GL_VENDOR: Imagination Technologies
qt.scenegraph.general: GL_RENDERER: PowerVR Rogue GE7800
qt.scenegraph.general: GL_VERSION: OpenGL ES 3.2 build 1.10@5187610我正在运行一个Hello world QML程序和上面的配置。
QT_QPA_EGLFS_SWAPINTERVAL=0
QT_QPA_UPDATE_IDLE_TIME=0
QSG_RENDER_LOOP=basic我通过PVRTrace https://www.imgtec.com/developers/powervr-sdk-tools/pvrtrace/测试QT_QPA_EGLFS_SWAPINTERVAL

它显示eglSwapInterval确实像上面那样正确设置。但问题是程序停留在60FPS。为什么我无法禁用垂直同步。
发布于 2020-06-21 00:22:38
简而言之,vsync行为完全依赖于平台。实际上,eglSwapInterval()实际上只是一个提示,它是由实现定义的,它是否真正做了什么。在大多数平台上,它不是这样的--例如在Android上,你既不能禁用它,也不能将FPS设置为30。建议向平台提供商提出这个问题。
https://stackoverflow.com/questions/62466377
复制相似问题