[Development] QT_XCB_NATIVE_PAINTING makes worse that without of it

Denis Shienkov denis.shienkov at gmail.com
Fri Mar 22 12:46:59 CET 2019


Hi guys.

I have iMX6 board with Qt 5.11.2 and Qt-widgets based application. I have
compiled my Qt with an 'xcb_native_painting' option.

I was hoping that this would speed up my UI and reduce the load on the CPU,
but I was greatly mistaken:

When the QT_XCB_NATIVE_PAINTING is not set, I got following top:

* Xorg: 3.6 %
* app: 12.8 %

When the QT_XCB_NATIVE_PAINTING is *set*, I got following top:

* Xorg: 23 %
* app: 4.5 %

What? QT_XCB_NATIVE_PAINTING makes it worse in 2x-times... WTF?

BR,
Denis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20190322/242230a1/attachment.html>


More information about the Development mailing list