Print this page
Added gradle and cmake project

Split Close
Expand all
Collapse all
          --- old/src/java.desktop/share/classes/sun/java2d/loops/TransformHelper.java
          +++ new/src/java.desktop/share/classes/sun/java2d/loops/TransformHelper.java
↓ open down ↓ 121 lines elided ↑ open up ↑
 122  122          }
 123  123  
 124  124          public void Transform(MaskBlit output,
 125  125                                SurfaceData src, SurfaceData dst,
 126  126                                Composite comp, Region clip,
 127  127                                AffineTransform itx, int txtype,
 128  128                                int sx1, int sy1, int sx2, int sy2,
 129  129                                int dx1, int dy1, int dx2, int dy2,
 130  130                                int[] edges, int dxoff, int dyoff)
 131  131          {
 132      -            tracePrimitive(target);
      132 +            if ((traceflags & TRACEPTIME) == 0) {
      133 +                tracePrimitive(target);
      134 +            }
      135 +            long time = System.nanoTime();
 133  136              target.Transform(output, src, dst, comp, clip, itx, txtype,
 134  137                               sx1, sy1, sx2, sy2,
 135  138                               dx1, dy1, dx2, dy2,
 136  139                               edges, dxoff, dyoff);
      140 +            tracePrimitiveTime(target, System.nanoTime() - time);
 137  141          }
 138  142      }
 139  143  }
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX