[Development] iMX6 EGLGS 2D (QtWidgets) painting acceleration

Denis Shienkov denis.shienkov at gmail.com
Wed Aug 29 19:49:20 CEST 2018


Hi,

 > have you tried QOpenGlWidget ?

It does not work together (can't be mixed) with an usual QtWidgets using 
the 'eglfs' backend.

 > QtCharts to be more QtQuicker and more featured

As I see from the QtCharts sources, it also renders via QGraphicsScene 
&& QGraphicsWidget even in QtQuick.


29.08.2018 18:56, Vlad Stelmahovsky пишет:
>
> have you tried QOpenGlWidget ?
>
> otherwise you dont have other options: plain QWidget's does not HW 
> accelerated
>
> or, you can extend QtCharts to be more QtQuicker and more featured. 
> everyone will be happy :)
>
> On 8/29/18 11:39 AM, Denis Shienkov wrote:
>> Hi all.
>>
>> I have an Apalis iMX6 board with the Yocto's image with the working 
>> 'eglfs' and 'linuxfb'  backends (without of X11 support).
>>
>> I need to create a 'pure' QtWidgets application, where I need to use 
>> a real-time plotting with the Qwt library (using the Qt Quick is not 
>> an option, as there the QtCharts is not ready for usage) .
>>
>> But, I'm sadly surprised that a 2D painting takes ~100% CPU loading 
>> as with the 'eglfs' and as with 'linuxfb' backends. It is not an 
>> acceptable, because, e.g. on Desktop Linux/Windows it takes ~4-5% CPU 
>> loading.
>>
>> Is any workarounds for this? Maybe I need to re-build the Yocto's 
>> image to enable the X11 'xcb' support?
>>
>> BR,
>> Denis
>>
>>
>>
>> _______________________________________________
>> Development mailing list
>> Development at qt-project.org
>> http://lists.qt-project.org/mailman/listinfo/development

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20180829/bcfa9394/attachment.html>


More information about the Development mailing list