Print this page
Added gradle and cmake project

Split Close
Expand all
Collapse all
          --- old/src/java.desktop/share/classes/sun/java2d/loops/BlitBg.java
          +++ new/src/java.desktop/share/classes/sun/java2d/loops/BlitBg.java
↓ open down ↓ 201 lines elided ↑ open up ↑
 202  202              return this;
 203  203          }
 204  204  
 205  205          @Override
 206  206          public void BlitBg(SurfaceData src, SurfaceData dst,
 207  207                             Composite comp, Region clip,
 208  208                             int bgColor,
 209  209                             int srcx, int srcy, int dstx, int dsty,
 210  210                             int width, int height)
 211  211          {
 212      -            tracePrimitive(target);
      212 +            if ((traceflags & TRACEPTIME) == 0) {
      213 +                tracePrimitive(target);
      214 +            }
      215 +            long time = System.nanoTime();
 213  216              target.BlitBg(src, dst, comp, clip, bgColor,
 214  217                            srcx, srcy, dstx, dsty, width, height);
      218 +            tracePrimitiveTime(target, System.nanoTime() - time);
 215  219          }
 216  220      }
 217  221  }
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX