--- old/modules/graphics/src/main/java/com/sun/scenario/effect/Brightpass.java 2014-02-21 17:02:15.000000000 -0800 +++ new/modules/graphics/src/main/java/com/sun/scenario/effect/Brightpass.java 2014-02-21 17:02:14.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 filters out (i.e., replaces with a transparent value) all @@ -115,14 +116,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 alpha values 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