Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/qt/7.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Qt 为什么eglswapinterval无法禁用v-sync?_Qt_Opengl Es_Qml_Frame Rate - Fatal编程技术网

Qt 为什么eglswapinterval无法禁用v-sync?

Qt 为什么eglswapinterval无法禁用v-sync?,qt,opengl-es,qml,frame-rate,Qt,Opengl Es,Qml,Frame Rate,我的环境: 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:

我的环境:

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

它显示了
eglSwapInterval
是否如上所述正确设置。 但问题是该程序停留在每秒60帧的速度上。
为什么我不能禁用V-Sync。

简而言之,vsync行为完全依赖于平台。实际上,
eglSwapInterval()
实际上只是一个提示,它是由实现定义的,无论它是否真的做了任何事情。在大多数平台上都没有,例如在Android上,你既不能禁用它,也不能在30秒时修复FPS。建议向平台提供商提出此问题。

您运行的是什么设备?@solidpixel hi,R-car M3N