[Qt-interest] how to make QGraphicsView updated as soon as possible?

Zhao, Halley halley.zhao at intel.com
Sat Feb 12 03:26:42 CET 2011


After QGraphicsItem::update() is executed, there is some delay to QGraphicsItem::paint() is called.
This is not vital for common UI, but for a 30fps video frame update, this delay introduce many issue.

How could I make QGraphicsView updated as soon as possible?
Could I change the event loop to schedule the repaint as soon as possible?


There is also a similar issue for Qt::QueuedConnection, there is visible delay to invoke a method by QMetaObject::invokeMethod(this, method, Qt::QueuedConnection);
Could I reduce the delay?
(I can't use Qt::DirectConnection because I need some code runs in Qt thread).

thanks
ZHAO, Halley (Aihua)
Email: halley.zhao at intel.com<blocked::mailto:aihua.zhao at intel.com>
Tel: +86(21)61166476   iNet: 8821-6476
SSG/OTC/Moblin 3W038 Pole: F4
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110212/e1ba4c9d/attachment.html 


More information about the Qt-interest-old mailing list