Re: [AD] Some questions

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wednesday 11 September 2002 12:03, Vincent Penquerc'h wrote:
[snip - bmp_read_line and bmp_write_line on the same line]
> Why do you need reading at the same time ? You want transparency
> on your text ?

Yep, it's for antialiased rendering. The font format supports mono, 
mono/aa, 8 bit (ie. like the current color fonts), 24 bit, 24 bit/aa, 
indexed 24 bit (less memory intensive), indexed 24 bit/aa. For every 
string you render, each line is only accessed once, so there is no need 
to switch very regularly.

But if you can't read/write the same line at the same time, then the 
line will need to be read into memory first for AA fonts.

> A backup renderer would be a fix for any cards that might not
> like reading and writing to the same bank, if any. 

But how to detect them?

> I'd say
> have a look at the Gouraud sprite renderer, which does mode X
> as well.

Hmm, it seems fairly trivial, but will require another version of every 
renderer. We'll see...

Bye for now,
- -- 
Laurence Withers,  lwithers@xxxxxxxxxx
(GnuPG 04A646EA) http://www.lwithers.demon.co.uk/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9fyiFUdhclgSmRuoRArpIAJ0VO+9oalwANxv+Xd6VTVatNnmfbACdEu9T
C0o/4WKUuY2Db5xizT+TkrM=
=6CGZ
-----END PGP SIGNATURE-----



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/