Re: [Plib-users] Compiling for windows
Brought to you by:
sjbaker
|
From: Steve B. <sjb...@ai...> - 2000-10-11 21:20:48
|
Norman Vine wrote:
> Also FWIW there is some 'ugly' code in the FlightGear
> Source cockpit / hud.hxx
> that I used to speed up PLib text when I 'KNEW'
> that I was rendering a lot of text with no intervening
> glstate changes.
>
> class fgText
> class fgTextList
>
> This code could probably be cleaned up a little bit
> but it served its purpose for me as is :-)
I don't know that code - but I thought about this very
carefully when I wrote the FNT library.
You *should* be able to avoid state costs when rendering
text by using the begin()/end() member functions to
bracket your rendering. Did you need something beyond
that? I'd be suprised.
--
Steve Baker HomeEmail: <sjb...@ai...>
WorkEmail: <sj...@li...>
HomePage : http://web2.airmail.net/sjbaker1
Projects : http://plib.sourceforge.net
http://tuxaqfh.sourceforge.net
http://tuxkart.sourceforge.net
http://prettypoly.sourceforge.net
|