Re: [AD] question about opengl bitmaps

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


Peter Hull wrote:
On the subject of fonts, I agree with Milan it should be locking once,
but also should it use sub-bitmaps rather than individual mini-bitmaps
for each glyph? In my copy of the Red Book it says that avoiding
texture changes is one way to improve performance. At the moment it
changes the texture for every character.

This has been changed. Glyphs are using sub bitmaps now. Glyph sheet is the one used to load the font, usually packed by grabber, so not necessary the best packing. It does avoid texture rebinding and improves performance.


--
Milan Mimica
http://sparklet.sf.net




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