> I have thus committed a new algorithm for Mac GL text drawing: > 1) Allocate a pile of pre-computed textures of default size 100. > 2) To draw a text string do > - if the corresponding texture is in the pile, map it to > the GL scene > - if not, pre-compute the corresponding texture and map it > + if the pile is not full, put the texture in the pile > + if not, remove the most ancient pile element, and put > the new texture in the pile.
Also: we need that functionality under X11 as well, how re-usable is this code? Can it be made to work for the X11 text rendering under GL? I don't know about the win32 WGL_* text rendering - it might just work, it is possible the MS did this right! If not, we can leverage this code again for the WGL versions too? -- Ian SELEX Galileo Ltd Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 3EL A company registered in England & Wales. Company no. 02426132 ******************************************************************** This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person. ******************************************************************** _______________________________________________ fltk-dev mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-dev
