src/share/native/sun/java2d/loops/TransformHelper.c

Print this page

        

@@ -382,10 +382,12 @@
         SurfaceData_InvokeUnlock(env, srcOps, &srcInfo);
         /* edgeArray should already contain zeros for min/maxy */
         return;
     }
     Region_IntersectBounds(&clipInfo, &dstInfo.bounds);
+    Transform_GetInfo(env, itxform, &itxInfo);
+
 
     numedges = (((jlong) dstInfo.bounds.y2) - ((jlong) dstInfo.bounds.y1));
     if (numedges <= 0) {
         pEdges = NULL;
     } else if (!JNU_IsNull(env, edgeArray)) {

@@ -421,11 +423,10 @@
         SurfaceData_InvokeUnlock(env, srcOps, &srcInfo);
         /* edgeArray should already contain zeros for min/maxy */
         return;
     }
 
-    Transform_GetInfo(env, itxform, &itxInfo);
 
     if (!Region_IsEmpty(&clipInfo)) {
         srcOps->GetRasInfo(env, srcOps, &srcInfo);
         dstOps->GetRasInfo(env, dstOps, &dstInfo);
         if (srcInfo.rasBase == NULL || dstInfo.rasBase == NULL) {