Hi,

there is also qnanopainter, an opengl / nanovg based painting library
for qt, it is available under the zlib license at
https://github.com/QUItCoding/qnanopainter
However, I only used this on an i.MX6Q with entaviv on qt 5.15 years
ago, the performance was very good though.

Am Mi., 8. Mai 2024 um 22:19 Uhr schrieb Stan Morris <pixelgre...@gmail.com>:
>
> I need to draw a lot of lines with low CPU utilization in a QtQuick app on 
> ARM i.MX8. Neither QML Shapes nor QNanoPainter are fast enough.
>
> What do you recommend?
>
> Drawing with QSGGeometry is fast enough, but I need to draw lines with widths 
> greater than one pixel and there's an annoying notch on line joins. My first 
> attempt at rounded end caps ends up as single pixels. I see there are ways to 
> draw circles... but I feel like QSGGeometry is the wrong direction. This is 
> Qt 6.7 on Linux (could be Qt 6.8 in a few months).  Surely there is something 
> better?
>
> QSGRenderNode and QRhi look promising, but I want to get an opinion before I 
> spend the next few weeks exploring QSGRenderNode. Also, it would be nice to 
> draw text from C++ to keep the interface simple.
>
> Thanks, Stan
> _______________________________________________
> Interest mailing list
> Interest@qt-project.org
> https://lists.qt-project.org/listinfo/interest



-- 
Regards
Samuel
_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to