Login  Register

Re: Which JOGL TextRenderer should I use?

Posted by GiGurra on Jul 26, 2011; 9:54pm
URL: https://forum.jogamp.org/Which-JOGL-TextRenderer-should-I-use-tp3199861p3201678.html

Ok.

Under what conditions should the new renderer be faster than the old one ?
I'm asking cause the old one is actually performing 2x as fast as the new one for me, plus the old one also has nice AAed text (even without hw MSAA which my laptop's crappy intel gpu cannot do :P).

The new TR call:
tr.drawString3D(backing_gl, dFont, gqt.text, zeroPos, (int) dFontSize, 100);

is taking about 2x (!!!) the time as the old textrenderer calls

curTr.draw3D(gqt.text, gqt.x, gqt.y, 0, gqt.scale);
curTr.flush();


I find this quite interesting :P. Maybe the new TR will be faster with long text?
(To test this I'm rendering the same text sets with both renderers and testing with the above lines commented vs uncommented)

Perhaps the new TR would be faster than the old TR on a better GPU? (I am out "in the forest ^^" during summer with my laptop).