[Customdrawn] New fast bitmap copying

Giuliano Colla giuliano.colla at fastwebnet.it
Thu Apr 5 17:09:02 CEST 2012


Il 05/04/2012 15:04, Felipe Monteiro de Carvalho ha scritto:
> On Thu, Apr 5, 2012 at 2:49 PM, Vincent Snijders
> <vincent.snijders at gmail.com>  wrote:
>> Why not replace
>>   for x := 0 to lDrawWidth -1 do
>> by
>> move(lScanlineSrc^, lScanlineDest^, 3 * lDrawWidth);
> Good idea! Implemented in rev36578 and it even saved around 15ms
>
> In the same revision also implemented these ToDos:
>
> 3>Implement support for 32 bpp too
> 4>Consider if we are not getting out of the destination size in the X axis
>
ASAP I'll test it, because on my X11 platform VMG paint time is (before 
patches) 1103-1143 ms, plus 115-115 ms of X drawing time!





More information about the Customdrawn mailing list