Original Post
I''m using ID3DXFont::DrawText method to display some text in my game, but it seems to have a huge performance hit. What i am using it for is displaying the number of frames per second. I also used an external program (FRAPS) to monitor the FPS of my game so i could see what the difference was when i switch it on and off...
I was amazed by the results, it seems that my FPS without drawing the font is 400. While when i switch the font back on it, i get an FPS of 275.. I am sure its the ID3DXFont::DrawText, because i commented out that line alone, leaving all the fps calculation in there even know it wasn''t being displayed.
Has anybody else noticed this? what gives? Would i be better off writing my own class to draw fonts from bitmaps?