--- old/modules/graphics/src/main/java/com/sun/scenario/effect/Reflection.java 2014-02-21 17:02:26.000000000 -0800 +++ new/modules/graphics/src/main/java/com/sun/scenario/effect/Reflection.java 2014-02-21 17:02:26.000000000 -0800 @@ -32,6 +32,7 @@ import com.sun.javafx.geom.RectBounds; import com.sun.javafx.geom.Rectangle; import com.sun.javafx.geom.transform.BaseTransform; +import com.sun.scenario.effect.impl.state.RenderState; /** * An effect that renders a reflected version of the input below the @@ -231,11 +232,6 @@ } @Override - public boolean operatesInUserSpace() { - return true; - } - - @Override public Point2D transform(Point2D p, Effect defaultInput) { return getDefaultedInput(0, defaultInput).transform(p, defaultInput); } @@ -246,15 +242,17 @@ } @Override - protected Rectangle getInputClip(int inputIndex, - BaseTransform transform, - Rectangle outputClip) + public RenderState getRenderState(FilterContext fctx, + BaseTransform transform, + Rectangle outputClip, + Object renderHelper, + Effect defaultInput) { // RT-27405 - // TODO: Calculate which parts are needed based on the two - // ways that the input is rendered into this ouput rectangle. - // For now, just ask for the entire input. - return null; + // TODO: We could calculate which parts are needed based on the two + // ways that the input is rendered into this ouput rectangle. For now, + // we will just use the stock object that requests unclipped inputs. + return RenderState.UnclippedUserSpaceRenderState; } @Override