Print this page
Added gradle and cmake project

Split Close
Expand all
Collapse all
          --- old/src/java.desktop/share/classes/sun/java2d/loops/DrawGlyphListAA.java
          +++ new/src/java.desktop/share/classes/sun/java2d/loops/DrawGlyphListAA.java
↓ open down ↓ 144 lines elided ↑ open up ↑
 145  145              this.target = target;
 146  146          }
 147  147  
 148  148          public GraphicsPrimitive traceWrap() {
 149  149              return this;
 150  150          }
 151  151  
 152  152          public void DrawGlyphListAA(SunGraphics2D sg2d, SurfaceData dest,
 153  153                                      GlyphList glyphs)
 154  154          {
 155      -            tracePrimitive(target);
      155 +            if ((traceflags & TRACEPTIME) == 0) {
      156 +                tracePrimitive(target);
      157 +            }
      158 +            long time = System.nanoTime();
 156  159              target.DrawGlyphListAA(sg2d, dest, glyphs);
      160 +            tracePrimitiveTime(target, System.nanoTime() - time);
 157  161          }
 158  162      }
 159  163  }
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX