[Customdrawn] New fast bitmap copying

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Thu Apr 5 15:04:03 CEST 2012


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

-- 
Felipe Monteiro de Carvalho




More information about the Customdrawn mailing list