U++ framework
Do not panic. Ask here before giving up.

Home » Community » U++ community news and announcements » Painter improvements
Painter improvements [message #60364] Sun, 24 December 2023 15:32 Go to previous message
mirek is currently offline  mirek
Messages: 14291
Registered: November 2005
Ultimate Member
I have spent last month trying to improve Painter, especially MT performance.

New tricks is increasing the number of paths that can be processed together, improving text rendering using new MakeValueTL thread local caching and unlike before, span fills (those with nonuniform color like images or gradients) can now be rendered at the same time (multiple span filled paths can be renderd concurrently with solid fills, before only solid fills could be mixed together). Also inition Clear command is postoned to this rendering phase, which should improve cache locality. As a result, some of PainterExamples are significantly faster in MT, typical is

In addition I have fixed a problem with Image placement being 0.5 pixel off (took 2 weeks to figure that out...) and add new attribute to specify advanced filtering kernels like bicubic or lancsoz 3.

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: TheIDE and U++ have been released on Flathub
Next Topic: Merry Christmas and Happy New Year 2024!
Goto Forum:
  


Current Time: Sun May 24 18:16:33 GMT+2 2026

Total time taken to generate the page: 0.00460 seconds