Hi folks,
how is the TextRenderer API implemented internally to render fonts? I know that "Renders bitmapped Java 2D text into an OpenGL window with high performance, full Unicode support, and a simple API. Performs appropriate caching of text rendering results in an OpenGL texture internally to avoid repeated font rasterization. The caching is completely automatic, does not require any user intervention, and has no visible controls in the public API. "
I’m asking this question because before using the API, we were getting better performance results rendering fonts using JAI at hand (that is, byte after byte). So, when we started using the API, our software benchmarks began to show terrible results.
And we are using the code template suggested in the API documentation. Can anyone explain the internals of the API?
Thanks,