[Interest] double-buffering, quality drop

Felix morack felixover at gmail.com
Tue Feb 3 11:36:55 CET 2015


we had a similar problem. We solved it by having the updatePixamp()
function set a flag and doing the actual drawing the in paint() method, ie:


void updatePixamp()
{
dirty = true;
repaint();
}

void repaint(...)
{
....
if(dirty)
{
//update pixmap
}

//blit pixamp to screen
}




2015-02-03 11:29 GMT+01:00 Ilya Diallo <ilya.diallo at gmail.com>:

> Not sure it's related, but that reminds me of that old issue:
> https://bugreports.qt.io/browse/QTBUG-25896
>
>
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20150203/ecd264d9/attachment.html>


More information about the Interest mailing list