Login  Register

Re: JOGL - High performance text rendering

Posted by gouessej on Aug 25, 2010; 10:53am
URL: https://forum.jogamp.org/JOGL-High-performance-text-rendering-tp1319060p1328130.html

Hi!

To fix your issue, switch to JOGL 2, force the use of vertex arrays with TextRenderer and I'm going to provide a patch that reduces the memory use and improves the speed. My fix is already available for JOGL 1.1.1a, feel free to use it. TextRenderer is already hardware accelerated, I know the source code. Only the first implementations of TextRenderer (very old implementations, some years ago) were using Java2D and were not hardware accelerated

Using wglUseFontBitmaps in windows is not faster than using the few methods concerning text rendering in the GLUT that are still in JOGL as far as I know (but it supports only a few fonts).

I'm not sure Qt-Jambi is noticeably faster than plain AWT especially when it is used correctly.
Julien Gouesse | Personal blog | Website