Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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: 1212
Registered: March 2007
Senior 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 Apr 29 08:50:30 CEST 2024

Total time taken to generate the page: 0.03280 seconds