--- old/modules/graphics/src/main/java/com/sun/scenario/effect/ColorAdjust.java 2014-02-21 17:02:16.000000000 -0800 +++ new/modules/graphics/src/main/java/com/sun/scenario/effect/ColorAdjust.java 2014-02-21 17:02:15.000000000 -0800 @@ -27,6 +27,7 @@ import com.sun.javafx.geom.Rectangle; import com.sun.javafx.geom.transform.BaseTransform; +import com.sun.scenario.effect.impl.state.RenderState; /** * An effect that allows for per-pixel adjustments of hue, saturation, @@ -209,14 +210,13 @@ } @Override - protected Rectangle getInputClip(int inputIndex, - BaseTransform transform, - Rectangle outputClip) + public RenderState getRenderState(FilterContext fctx, + BaseTransform transform, + Rectangle outputClip, + Object renderHelper, + Effect defaultInput) { - // Trivially, this effect simply modifies the colors of the pixels - // of the input on a 1:1 basis so the input clip is the same as the - // output clip. - return outputClip; + return RenderState.RenderSpaceRenderState; } @Override