Print this page
Added gradle and cmake project

@@ -62,10 +62,15 @@
     private static class Tracer extends OGLTextRenderer {
         Tracer(OGLTextRenderer ogltr) {
             super(ogltr.rq);
         }
         protected void drawGlyphList(SunGraphics2D sg2d, GlyphList gl) {
-            GraphicsPrimitive.tracePrimitive("OGLDrawGlyphs");
+            final String prim = "OGLDrawGlyphs" + (gl.isRGBOrder() ? "LCD" : "Gray");
+            if ((GraphicsPrimitive.traceflags & GraphicsPrimitive.TRACEPTIME) == 0) {
+                GraphicsPrimitive.tracePrimitive(prim);
+            }
+            long time = System.nanoTime();
             super.drawGlyphList(sg2d, gl);
+            GraphicsPrimitive.tracePrimitiveTime(prim, System.nanoTime() - time);
         }
     }
 }