Re: [Development] OpenGL sluggishness on Qt5 vs Qt4

2014-11-22 Thread Dov Grobgeld
Thanks Reaud and Mathew! The s/update/updateGL/ fixed the problem! Btw, I initially copied the use of updateGL() from .../examples/opengl/hellogl/glwidget.cpp, which still (git HEAD) uses it. Shouldn't this be changed for the same reason as well? Regards, Dov On Fri, Nov 21, 2014 at 11:39 PM, Ma

Re: [Development] OpenGL sluggishness on Qt5 vs Qt4

2014-11-21 Thread Matthew Woehlke
On 2014-11-21 05:22, Renaud wrote: > I saw in your small example that you use "updateGL()", I suggest you to > change it to "update()". > > It may help the performance on Qt5. Hoo boy... I'm not sure why this would work better on Qt4 (see possible idea, below), but updateGL() *IMMEDIATELY* calls

Re: [Development] OpenGL sluggishness on Qt5 vs Qt4

2014-11-21 Thread Renaud
I saw in your small example that you use "updateGL()", I suggest you to change it to "update()". It may help the performance on Qt5. Renaud 2014-11-20 11:25 GMT+01:00 Dov Grobgeld : > I created a small (but perhaps not small enough?) example to illustrate > the problem: > > See: https://githu

Re: [Development] OpenGL sluggishness on Qt5 vs Qt4

2014-11-20 Thread Dov Grobgeld
I created a small (but perhaps not small enough?) example to illustrate the problem: See: https://github.com/dov/QtGLProb Please test it under the following conditions to see the problem: 1. "qmake-qt4; make; ./debug/ModelViewer" 2. "make clean; qmake-qt5; make; ./debug/ModelViewer" 3. "env vbla

Re: [Development] OpenGL sluggishness on Qt5 vs Qt4

2014-11-20 Thread R. Reucher
On Thursday 20 November 2014 10:13:26 Dov Grobgeld wrote: > Will it help if I create a minimum program reproducing the problem? I can't comment on your actual problem, but yes, this is definitely the way to go... ___ Development mailing list Developmen

[Development] OpenGL sluggishness on Qt5 vs Qt4

2014-11-20 Thread Dov Grobgeld
Hello. This is my first post to this list, so if there is another forum more suited, please let me know. I'm writing a QT application that includes a viewer for 3D-models. I got the same code (with an ifdef for includes) running under both qt4 and qt5 in Linux. The program loads a model of about ~