[Development] OpenGL sluggishness on Qt5 vs Qt4

Renaud renaud.guezennec at gmail.com
Fri Nov 21 11:22:31 CET 2014


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 <dov.grobgeld at gmail.com>:

> 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 vblank_mode=0 ./debug/ModelViewer"
>
> Case 3 eliminates the problem for small window sizes, but when enlarging
> the window to the full screen, the same lagging behaviour as in case 2 is
> experienced.
>
> Regards,
> Dov
>
>
> On Thu, Nov 20, 2014 at 10:37 AM, R. Reucher <rene.reucher at batcom-it.net>
> wrote:
>
>>  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
>> Development at qt-project.org
>> http://lists.qt-project.org/mailman/listinfo/development
>>
>>
>
> _______________________________________________
> Development mailing list
> Development at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20141121/aae14056/attachment.html>


More information about the Development mailing list