Print this page
Added gradle and cmake project

@@ -322,11 +322,15 @@
         public void Blit(SurfaceData src, SurfaceData dst,
                          Composite comp, Region clip,
                          int srcx, int srcy, int dstx, int dsty,
                          int width, int height)
         {
+            if ((traceflags & TRACEPTIME) == 0) {
             tracePrimitive(target);
+            }
+            long time = System.nanoTime();
             target.Blit(src, dst, comp, clip,
                         srcx, srcy, dstx, dsty, width, height);
+            tracePrimitiveTime(target, System.nanoTime() - time);
         }
     }
 }