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

Home » U++ Library support » Draw, Display, Images, Bitmaps, Icons » BufferPainter::Fill(Image,...) optimization question
BufferPainter::Fill(Image,...) optimization question [message #53749] Mon, 27 April 2020 14:51 Go to previous message
Tom1
Messages: 1319
Registered: March 2007
Ultimate Contributor
Hi Mirek,

After getting inspired by the recent improvements in DrawImage(), I tested the BufferPainter::Fill(Image,...) using images with both kind=IMAGE_OPAQUE and kind=IMAGE_ALPHA. It seems they apparently render at the same speed. Is there any room for "easy" optimization when rendering opaque images?

(I really tried to look for the code where the rendering is actually done, but BufferPainter is way too complex for me to navigate... Confused Maybe you could point out the file and line where the decision between opaque rendering and alpha blending is actually done.)

Best regards,

Tom
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Another BufferPainter optimization
Next Topic: Paint problems when using transparency
Goto Forum:
  


Current Time: Mon Oct 26 13:41:08 GMT+1 2026

Total time taken to generate the page: 0.00671 seconds