6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. Oracle designates this
8 * particular file as subject to the "Classpath" exception as provided
9 * by Oracle in the LICENSE file that accompanied this code.
10 *
11 * This code is distributed in the hope that it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 * version 2 for more details (a copy is included in the LICENSE file that
15 * accompanied this code).
16 *
17 * You should have received a copy of the GNU General Public License version
18 * 2 along with this work; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25
26 package com.sun.javafx.sg.prism;
27
28 import javafx.scene.Group;
29 import javafx.scene.Node;
30 import javafx.scene.Scene;
31 import javafx.scene.shape.Rectangle;
32 import com.sun.javafx.geom.BaseBounds;
33 import com.sun.javafx.geom.DirtyRegionContainer;
34 import com.sun.javafx.geom.DirtyRegionPool;
35 import com.sun.javafx.geom.RectBounds;
36 import com.sun.javafx.geom.transform.BaseTransform;
37 import com.sun.javafx.sg.prism.NGNode;
38 import com.sun.scenario.effect.Blend;
39 import com.sun.scenario.effect.Bloom;
40 import com.sun.scenario.effect.BoxBlur;
41 import com.sun.scenario.effect.BoxShadow;
42 import com.sun.scenario.effect.ColorAdjust;
43 import com.sun.scenario.effect.Crop;
44 import com.sun.scenario.effect.DropShadow;
45 import com.sun.scenario.effect.Effect;
46 import com.sun.scenario.effect.GaussianBlur;
47 import com.sun.scenario.effect.GeneralShadow;
48 import com.sun.scenario.effect.Glow;
49 import com.sun.scenario.effect.InnerShadow;
50 import com.sun.scenario.effect.MotionBlur;
51 import com.sun.scenario.effect.Offset;
52 import com.sun.scenario.effect.SepiaTone;
53 import junit.framework.Assert;
54 import org.junit.Test;
55
56 public class EffectDirtyRegionTest {
|
6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. Oracle designates this
8 * particular file as subject to the "Classpath" exception as provided
9 * by Oracle in the LICENSE file that accompanied this code.
10 *
11 * This code is distributed in the hope that it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 * version 2 for more details (a copy is included in the LICENSE file that
15 * accompanied this code).
16 *
17 * You should have received a copy of the GNU General Public License version
18 * 2 along with this work; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25
26 package test.com.sun.javafx.sg.prism;
27
28 import javafx.scene.Group;
29 import javafx.scene.Node;
30 import javafx.scene.Scene;
31 import javafx.scene.shape.Rectangle;
32 import com.sun.javafx.geom.BaseBounds;
33 import com.sun.javafx.geom.DirtyRegionContainer;
34 import com.sun.javafx.geom.DirtyRegionPool;
35 import com.sun.javafx.geom.RectBounds;
36 import com.sun.javafx.geom.transform.BaseTransform;
37 import com.sun.javafx.sg.prism.NGNode;
38 import com.sun.javafx.sg.prism.NGNode;
39 import com.sun.scenario.effect.Blend;
40 import com.sun.scenario.effect.Bloom;
41 import com.sun.scenario.effect.BoxBlur;
42 import com.sun.scenario.effect.BoxShadow;
43 import com.sun.scenario.effect.ColorAdjust;
44 import com.sun.scenario.effect.Crop;
45 import com.sun.scenario.effect.DropShadow;
46 import com.sun.scenario.effect.Effect;
47 import com.sun.scenario.effect.GaussianBlur;
48 import com.sun.scenario.effect.GeneralShadow;
49 import com.sun.scenario.effect.Glow;
50 import com.sun.scenario.effect.InnerShadow;
51 import com.sun.scenario.effect.MotionBlur;
52 import com.sun.scenario.effect.Offset;
53 import com.sun.scenario.effect.SepiaTone;
54 import junit.framework.Assert;
55 import org.junit.Test;
56
57 public class EffectDirtyRegionTest {
|