On Wed, May 11, 2016 at 11:29 PM, Adrian Musceac <
kant...@gmail.com> wrote:
> Hi Alex,
> You're right, I hadn't tried it on a Release build. It's interesting that the
> improvement is seen on a Debug build but insignificant on a Release
> build. I will still keep this change because without it I get stutters in
> Debug builds which I use more frequently. Otherwise it's safe to say
> there is no improvement.
Hi Adrian,
Well, I think it can be explained... If you use hardware acceleration
then most of the drawing is performed by hardware and it will be the
same regadless of the build time. However, if you use software
rendering then Qt will probably use an unoptimized debug version of
the drawing library for debug builds, which will be slower than the
optimized version.
I will try at some point myself and measure the improvements with
hardware acceleration. It may be useful adding it as a runtime option,
so thanks for the tip in any case.
Alex