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  |
Tom1
Messages: 1301 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... Maybe you could point out the file and line where the decision between opaque rendering and alpha blending is actually done.)
Best regards,
Tom
|
|
|
 |
|
BufferPainter::Fill(Image,...) optimization question
By: Tom1 on Mon, 27 April 2020 14:51
|
 |
|
Re: BufferPainter::Fill(Image,...) optimization question
By: Tom1 on Mon, 27 April 2020 16:51
|
 |
|
Re: BufferPainter::Fill(Image,...) optimization question
By: mirek on Thu, 04 June 2020 18:38
|
 |
|
Re: BufferPainter::Fill(Image,...) optimization question
By: mirek on Thu, 04 June 2020 18:49
|
 |
|
Re: BufferPainter::Fill(Image,...) optimization question
By: Tom1 on Thu, 04 June 2020 20:17
|
Goto Forum:
Current Time: Mon Apr 28 19:39:43 CEST 2025
Total time taken to generate the page: 0.01049 seconds
|