Home » U++ Library support » Draw, Display, Images, Bitmaps, Icons » High Performance Drawing
Re: High Performance Drawing [message #13316 is a reply to message #13262] |
Tue, 01 January 2008 10:54 |
|
mirek
Messages: 13980 Registered: November 2005
|
Ultimate Member |
|
|
cbpporter wrote on Wed, 26 December 2007 11:01 | It is set to 32 bit (AFAIK TrueColor is 24). Why is drawing on anything else than TrueColor slower. Are the buffers 24 bit and if you paint them to other bit depths, there is a hidden conversion or something. And 32 bit should be the fastest, because of both align issues and register size on a x86 machine.
I can't use just backpaint, because I need a buffer, draw something with agg, draw something with my functions, run it through some postprocessing and then display. I'm not doing this each time, so I need a persistent "buffer" which I can update and which is as fast as possible to paint on the screen.
|
By truecolor I mean either 24 or 32.
Buffers really are 32-bit (RGBAx8). Anyway, if display is set to 256 colors, everything is much slower because Win32 has to perform the palette conversion....
Mirek
|
|
|
|
|
High Performance Drawing
|
|
|
Re: High Performance Drawing
By: mirek on Sun, 16 December 2007 23:15
|
|
|
Re: High Performance Drawing
|
|
|
Re: High Performance Drawing
By: mirek on Mon, 17 December 2007 14:47
|
|
|
Re: High Performance Drawing
|
|
|
Re: High Performance Drawing
By: mirek on Wed, 26 December 2007 14:16
|
|
|
Re: High Performance Drawing
|
|
|
Re: High Performance Drawing
By: mirek on Tue, 01 January 2008 10:54
|
|
|
Re: High Performance Drawing
By: phirox on Tue, 01 January 2008 21:21
|
|
|
Re: High Performance Drawing
By: phirox on Tue, 01 January 2008 23:54
|
|
|
Re: High Performance Drawing
|
|
|
Re: High Performance Drawing
By: mirek on Wed, 02 January 2008 22:00
|
|
|
Re: High Performance Drawing
By: phirox on Sat, 05 January 2008 19:55
|
|
|
Re: High Performance Drawing
By: mirek on Sun, 06 January 2008 08:54
|
|
|
Re: High Performance Drawing
|
|
|
Re: High Performance Drawing
|
|
|
Re: High Performance Drawing
By: mirek on Wed, 23 January 2008 17:01
|
|
|
Re: High Performance Drawing
|
|
|
Re: High Performance Drawing
|
|
|
Re: High Performance Drawing
|
Goto Forum:
Current Time: Tue May 14 00:00:15 CEST 2024
Total time taken to generate the page: 0.02423 seconds
|