I found that the OpenGL update performance is very poor. With one small window you can get 30 FPS. But with two windows, or if you are doing anything else such as reading SQL, it drops to half that.
I moved the readng SQL part to another thread, and even the openGL calls to another thread. But it was the same. So after some testing, I found the problem is QWidget::updatesEnabled(); which is returning true about 15 times a second, or worse with multiple windows.
Is there a way to force window updates to happen more often?
------
Disregard, the texture has to be a power of 2 or performance is horrible when you bind the texture.
Bookmarks