dafhi wrote:Thanks for the compiler warnings list. They don't appear here, but I get 'suspicious pointer assignment' messages.
You're wellcome. Sure they will appear on your system when you compile with -w pedantic.
dafhi wrote:the cairo version runs slower.
I made the main loops stop after 100 executions and print out the execution time. On my system both versions are equal in speed (less than 2 % difference, cairo_test.bas was a bit faster in 2 of 3 tests).
dafhi wrote:I was wondering if you are familiar enough with Cairo to suggest speed improvements.
I wonder if you're able to evaluate this.
As expected you won't see any effect from hardware acceleration when you use cairo like fbgfx and set the color pixel by pixel. Improve your SUB Render. Have a look at cairo_mask and cairo_pattern functions.