Le dimanche 20 novembre 2005 à 15:34 +0100, Jean-Christophe Duberga a
écrit :  
> What will we cache :  glyphs or pieces of text ?

Text rendered in a SDL_Surface*. So one cache item would contains text,
size and color. But we have to check if it's faster to use cache or not,
because sometime it times more time to check if one text is cached or
not ... (use hash table or something like that?).

And this cache will eat more memory ...

Victor
-- 
Victor Stinner - étudiant à l'UTBM (Belfort, France)
http://www.haypocalc.com/wiki/Accueil

Attachment: signature.asc
Description: This is a digitally signed message part

Répondre à