C (12/254)

From:Daithi O'Cuinn
Date:26 Apr 00 at 23:06:58
Subject:Re: AllocBitmap

Hello Martin

On 26-Apr-00, Martin McKenzie wrote:

> "With P96, these buffer bitmaps are placed in gfxcard ram if
> possible, and the swapping can then be done by the blitter. CGX also
> supports bitmaps in gfxcard ram, but AFAIK Frank chose to require
> the BMF_DISPLAYABLE flag to be set for this to happen"
>
> Frank then replied, agreeing that this flag must be set if you want to
> allocate your data in the gfx board ram.

Indeed, he should know!
I am the tile scroller guy, and I tried again with BMF_DISPLAYABLE, and indeed
there is a slight, but noticable, speedup. Before, you could see the blit
happening, now it's just... there!
What had happened was I tried the BMF_MINPLANES flag first and this made a
MEGA speedup, so I assumed that this was the one. I had assumed that this was
the difference between fast ram and gfx ram, when it fact it was the
difference between bitmap formats. Looks like the the gfx board can pull
things from fast RAM at quite a reasonable speed, all things considered.

Anyway, thanks to the ScrollRaster optimisation improvements I did beforehand
to get my scroller to an acceptable speed means that this unexpected extra
boost has resulted in a scroller whose speed now rocks my world. Thanks
everyone!

Regards



Daithi O'Cuinn
docuinn@cluke.demon.co.uk

------------------------------------------------------------------------
Now the best and coolest websites come right to you based on your
unique interests. eTour.com is surfing without searching.
And, it's FREE!
http://click.egroups.com/1/3013/1/_/451227/_/956784795/
------------------------------------------------------------------------