modules/graphics/src/main/java/com/sun/scenario/effect/impl/sw/sse/SSEBoxShadowPeer.java

Print this page

        

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 2009, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2009, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation.  Oracle designates this

@@ -29,11 +29,10 @@
  */
 
 package com.sun.scenario.effect.impl.sw.sse;
 
 import com.sun.scenario.effect.Effect;
-import com.sun.scenario.effect.BoxShadow;
 import com.sun.scenario.effect.FilterContext;
 import com.sun.scenario.effect.ImageData;
 import com.sun.scenario.effect.impl.HeapImage;
 import com.sun.scenario.effect.impl.Renderer;
 import com.sun.javafx.geom.Rectangle;

@@ -137,11 +136,11 @@
             curscan = newscan;
         }
 
         Rectangle dstBounds =
             new Rectangle(srcr.x - growx/2, srcr.y - growy/2, curw, curh);
-        return new ImageData(getFilterContext(), cur, dstBounds);
+        return new ImageData(getFilterContext(), cur, dstBounds, inputs[0].getTransform());
     }
 
     private static native void
         filterHorizontalBlack(int dstPixels[], int dstw, int dsth, int dstscan,
                               int srcPixels[], int srcw, int srch, int srcscan,