[Development] QT_XCB_NATIVE_PAINTING makes worse that without of it

Konstantin Tokarev annulen at yandex.ru
Fri Mar 22 17:27:33 CET 2019



22.03.2019, 19:22, "Denis Shienkov" <denis.shienkov at gmail.com>:
> Hmmm.. thanks.. it is very bad... :(
>
> My goal it is to accelerate my QWidget application in some way... I use the QWT library to render a curves..
>
> That ~30% CPU loading occured even at a low "frame-rate" (about ~2 updates per second)... But I need about 20-30 updates per second... In this case the CPU load increases up to 100% and the UI freezes.. It is wery bad, because on Desktop-systems the CPU load is ~0%.
>
> Is any suggestions to minimize the CPU load on iMX6 target (using QWidget application)? Maybe is it possible to use an OpenGL at all with X11? Or something else? Because any other suggestions related to the application code optimization has not sense (because there are the QWT library already is optimized). Re-writing an application to Quick is not an option too...

You may want to try using QwtPlotOpenGLCanvas on your device


-- 
Regards,
Konstantin


More information about the Development mailing list