Print this page
Added gradle and cmake project

Split Close
Expand all
Collapse all
          --- old/src/java.desktop/share/classes/sun/java2d/loops/ScaledBlit.java
          +++ new/src/java.desktop/share/classes/sun/java2d/loops/ScaledBlit.java
↓ open down ↓ 138 lines elided ↑ open up ↑
 139  139              return this;
 140  140          }
 141  141  
 142  142          public void Scale(SurfaceData src, SurfaceData dst,
 143  143                            Composite comp, Region clip,
 144  144                            int sx1, int sy1,
 145  145                            int sx2, int sy2,
 146  146                            double dx1, double dy1,
 147  147                            double dx2, double dy2)
 148  148          {
 149      -            tracePrimitive(target);
      149 +            if ((traceflags & TRACEPTIME) == 0) {
      150 +                tracePrimitive(target);
      151 +            }
      152 +            long time = System.nanoTime();
 150  153              target.Scale(src, dst, comp, clip,
 151  154                           sx1, sy1, sx2, sy2,
 152  155                           dx1, dy1, dx2, dy2);
      156 +            tracePrimitiveTime(target, System.nanoTime() - time);
 153  157          }
 154  158      }
 155  159  }
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX