Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我最近更新到Qt 5.9. 我正在开发的应用程序使用QOpenGLWidget和QOpenGLBuffers. 我注意到,因为Qt 5.9,QOpenglWidget销毁非常缓慢,并且使应用程序退出非常缓慢。
Qt 5.9
QOpenGLWidget
QOpenGLBuffers
QOpenglWidget
有什么建议/想法可以提供帮助吗?
[编辑] 它似乎与创建的VAO( QOpenGLVertexArrayObject) 数量有关。Qt 5.9一定改变了VAO清理s的方式。使用该destroy()功能不会改变任何东西。
VAO
QOpenGLVertexArrayObject
destroy()