test/jdk/sun/java2d/SunGraphics2D/DrawImageBilinear.java
changeset 49217 3b820b878ebe
parent 47967 b69b22b7a9f9
equal deleted inserted replaced
49216:577f96d4f3c9 49217:3b820b878ebe
     1 /*
     1 /*
     2  * Copyright (c) 2007, 2016, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2007, 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  * @test
    24  * @test
    25  * @key headful
    25  * @key headful
    26  * @bug 5009033 6603000 6666362 8159142
    26  * @bug 5009033 6603000 6666362 8159142 8198613
    27  * @summary Verifies that images transformed with bilinear filtering do not
    27  * @summary Verifies that images transformed with bilinear filtering do not
    28  * leave artifacts at the edges.
    28  * leave artifacts at the edges.
    29  * @run main/othervm -Dsun.java2d.uiScale=2.5 DrawImageBilinear
    29  * @run main/othervm -Dsun.java2d.uiScale=2.5 DrawImageBilinear
    30  * @run main/othervm -Dsun.java2d.uiScale=2.5 -Dsun.java2d.opengl=True DrawImageBilinear
       
    31  * @run main/othervm -Dsun.java2d.uiScale=2.5 -Dsun.java2d.d3d=false DrawImageBilinear
    30  * @run main/othervm -Dsun.java2d.uiScale=2.5 -Dsun.java2d.d3d=false DrawImageBilinear
    32  * @author campbelc
    31  * @author campbelc
    33  */
    32  */
    34 
    33 
    35 import java.awt.Canvas;
    34 import java.awt.Canvas;