test/jdk/java/awt/Window/TranslucentShapedFrameTest/TranslucentShapedFrameTest.java
equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2008, 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2008, 2018, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
21 * questions. |
21 * questions. |
22 */ |
22 */ |
23 |
23 |
24 /* |
24 /* |
25 * @test %I% %E% |
25 * @test %I% %E% |
26 * @bug 6655001 6670649 6687141 |
26 * @bug 6655001 6670649 6687141 8198613 |
27 * @summary Tests that hw acceleration doesn't affect translucent/shaped windows |
27 * @summary Tests that hw acceleration doesn't affect translucent/shaped windows |
28 * @author Dmitri.Trembovetski@sun.com: area=Graphics |
28 * @author Dmitri.Trembovetski@sun.com: area=Graphics |
29 * @compile -XDignore.symbol.file=true TranslucentShapedFrameTest.java |
29 * @compile -XDignore.symbol.file=true TranslucentShapedFrameTest.java |
30 * @compile -XDignore.symbol.file=true TSFrame.java |
30 * @compile -XDignore.symbol.file=true TSFrame.java |
31 * @run main/manual/othervm TranslucentShapedFrameTest |
31 * @run main/manual/othervm TranslucentShapedFrameTest |
32 * @run main/manual/othervm -Dsun.java2d.noddraw=true TranslucentShapedFrameTest |
32 * @run main/manual/othervm -Dsun.java2d.noddraw=true TranslucentShapedFrameTest |
33 * @run main/manual/othervm -Dsun.java2d.opengl=True TranslucentShapedFrameTest |
|
34 */ |
33 */ |
35 import java.awt.Color; |
34 import java.awt.Color; |
36 import java.awt.Frame; |
35 import java.awt.Frame; |
37 import java.awt.GraphicsConfiguration; |
36 import java.awt.GraphicsConfiguration; |
38 import java.awt.GraphicsDevice; |
37 import java.awt.GraphicsDevice; |