Print this page
Added gradle and cmake project


 112     private static class TraceTransformHelper extends TransformHelper {
 113         TransformHelper target;
 114 
 115         public TraceTransformHelper(TransformHelper target) {
 116             super(target.getSourceType());
 117             this.target = target;
 118         }
 119 
 120         public GraphicsPrimitive traceWrap() {
 121             return this;
 122         }
 123 
 124         public void Transform(MaskBlit output,
 125                               SurfaceData src, SurfaceData dst,
 126                               Composite comp, Region clip,
 127                               AffineTransform itx, int txtype,
 128                               int sx1, int sy1, int sx2, int sy2,
 129                               int dx1, int dy1, int dx2, int dy2,
 130                               int[] edges, int dxoff, int dyoff)
 131         {

 132             tracePrimitive(target);


 133             target.Transform(output, src, dst, comp, clip, itx, txtype,
 134                              sx1, sy1, sx2, sy2,
 135                              dx1, dy1, dx2, dy2,
 136                              edges, dxoff, dyoff);

 137         }
 138     }
 139 }


 112     private static class TraceTransformHelper extends TransformHelper {
 113         TransformHelper target;
 114 
 115         public TraceTransformHelper(TransformHelper target) {
 116             super(target.getSourceType());
 117             this.target = target;
 118         }
 119 
 120         public GraphicsPrimitive traceWrap() {
 121             return this;
 122         }
 123 
 124         public void Transform(MaskBlit output,
 125                               SurfaceData src, SurfaceData dst,
 126                               Composite comp, Region clip,
 127                               AffineTransform itx, int txtype,
 128                               int sx1, int sy1, int sx2, int sy2,
 129                               int dx1, int dy1, int dx2, int dy2,
 130                               int[] edges, int dxoff, int dyoff)
 131         {
 132             if ((traceflags & TRACEPTIME) == 0) {
 133                 tracePrimitive(target);
 134             }
 135             long time = System.nanoTime();
 136             target.Transform(output, src, dst, comp, clip, itx, txtype,
 137                              sx1, sy1, sx2, sy2,
 138                              dx1, dy1, dx2, dy2,
 139                              edges, dxoff, dyoff);
 140             tracePrimitiveTime(target, System.nanoTime() - time);
 141         }
 142     }
 143 }