< prev index next >
src/java.desktop/share/classes/sun/java2d/loops/BlitBg.java
Print this page
rev 55352 : JB_base_webrev
@@ -207,11 +207,15 @@
Composite comp, Region clip,
int bgColor,
int srcx, int srcy, int dstx, int dsty,
int width, int height)
{
+ if ((traceflags & TRACEPTIME) == 0) {
tracePrimitive(target);
+ }
+ long time = System.nanoTime();
target.BlitBg(src, dst, comp, clip, bgColor,
srcx, srcy, dstx, dsty, width, height);
+ tracePrimitiveTime(target, System.nanoTime() - time);
}
}
}
< prev index next >