< prev index next >
test/jdk/sun/java2d/pipe/InterpolationQualityTest.java
Print this page
*** 1,7 ****
/*
! * Copyright (c) 2012, 2018, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
--- 1,7 ----
/*
! * Copyright (c) 2012, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*** 27,41 ****
* @bug 7188093 8000176 8198613
* @summary Tests each of the 3 possible methods for rendering an upscaled
* image via rendering hints for default, xrender and opengl pipelines.
*
* @author Vadim.Pakhnushev@oracle.com
! * @run main/othervm -Dsun.java2d.xrender=false InterpolationQualityTest
! * @run main/othervm -Dsun.java2d.xrender=True InterpolationQualityTest
! * @run main/othervm -Dsun.java2d.d3d=false InterpolationQualityTest
! * @run main/othervm -Dsun.java2d.d3d=True InterpolationQualityTest
! * @run main/othervm InterpolationQualityTest
*/
import java.awt.*;
import java.awt.image.*;
import java.io.File;
--- 27,41 ----
* @bug 7188093 8000176 8198613
* @summary Tests each of the 3 possible methods for rendering an upscaled
* image via rendering hints for default, xrender and opengl pipelines.
*
* @author Vadim.Pakhnushev@oracle.com
! * @run main/othervm -Dsun.java2d.uiScale=1 -Dsun.java2d.xrender=false InterpolationQualityTest
! * @run main/othervm -Dsun.java2d.uiScale=1 -Dsun.java2d.xrender=True InterpolationQualityTest
! * @run main/othervm -Dsun.java2d.uiScale=1 -Dsun.java2d.d3d=false InterpolationQualityTest
! * @run main/othervm -Dsun.java2d.uiScale=1 -Dsun.java2d.d3d=True InterpolationQualityTest
! * @run main/othervm -Dsun.java2d.uiScale=1 InterpolationQualityTest
*/
import java.awt.*;
import java.awt.image.*;
import java.io.File;
< prev index next >