/hg/gfx-test: Seven new tests added into BitBltAffineRotateTrans...

ptisnovs at icedtea.classpath.org ptisnovs at icedtea.classpath.org
Mon Sep 23 01:47:40 PDT 2013


changeset ca8b78f61748 in /hg/gfx-test
details: http://icedtea.classpath.org/hg/gfx-test?cmd=changeset;node=ca8b78f61748
author: Pavel Tisnovsky <ptisnovs at redhat.com>
date: Mon Sep 23 10:51:29 2013 +0200

	Seven new tests added into BitBltAffineRotateTransformOp.


diffstat:

 ChangeLog                                                     |    5 +
 src/org/gfxtest/testsuites/BitBltAffineRotateTransformOp.java |  112 +++++++++-
 2 files changed, 110 insertions(+), 7 deletions(-)

diffs (176 lines):

diff -r 14efcf650603 -r ca8b78f61748 ChangeLog
--- a/ChangeLog	Fri Sep 20 11:35:10 2013 +0200
+++ b/ChangeLog	Mon Sep 23 10:51:29 2013 +0200
@@ -1,3 +1,8 @@
+2013-09-23  Pavel Tisnovsky  <ptisnovs at redhat.com>
+
+	* src/org/gfxtest/testsuites/BitBltAffineRotateTransformOp.java:
+	Seven new tests added into BitBltAffineRotateTransformOp.
+
 2013-09-20  Pavel Tisnovsky  <ptisnovs at redhat.com>
 
 	* src/org/gfxtest/testsuites/BitBltBufferedImageOp.java:
diff -r 14efcf650603 -r ca8b78f61748 src/org/gfxtest/testsuites/BitBltAffineRotateTransformOp.java
--- a/src/org/gfxtest/testsuites/BitBltAffineRotateTransformOp.java	Fri Sep 20 11:35:10 2013 +0200
+++ b/src/org/gfxtest/testsuites/BitBltAffineRotateTransformOp.java	Mon Sep 23 10:51:29 2013 +0200
@@ -218,7 +218,7 @@
      */
     public TestResult testBitBltCheckerBufferedImageType4ByteABGRRotateTransformation0Nearest1Op(TestImage image, Graphics2D graphics2d)
     {
-        return doBitBltCheckerBufferedImageType3ByteRGB(image, graphics2d, RotateTransformationNearest1Op[0]);
+        return doBitBltCheckerBufferedImageType4ByteABGR(image, graphics2d, RotateTransformationNearest1Op[0]);
     }
 
     /**
@@ -232,7 +232,7 @@
      */
     public TestResult testBitBltCheckerBufferedImageType4ByteABGRRotateTransformation1Nearest1Op(TestImage image, Graphics2D graphics2d)
     {
-        return doBitBltCheckerBufferedImageType3ByteRGB(image, graphics2d, RotateTransformationNearest1Op[1]);
+        return doBitBltCheckerBufferedImageType4ByteABGR(image, graphics2d, RotateTransformationNearest1Op[1]);
     }
 
     /**
@@ -246,7 +246,7 @@
      */
     public TestResult testBitBltCheckerBufferedImageType4ByteABGRRotateTransformation2Nearest1Op(TestImage image, Graphics2D graphics2d)
     {
-        return doBitBltCheckerBufferedImageType3ByteRGB(image, graphics2d, RotateTransformationNearest1Op[2]);
+        return doBitBltCheckerBufferedImageType4ByteABGR(image, graphics2d, RotateTransformationNearest1Op[2]);
     }
 
     /**
@@ -260,7 +260,7 @@
      */
     public TestResult testBitBltCheckerBufferedImageType4ByteABGRRotateTransformation3Nearest1Op(TestImage image, Graphics2D graphics2d)
     {
-        return doBitBltCheckerBufferedImageType3ByteRGB(image, graphics2d, RotateTransformationNearest1Op[3]);
+        return doBitBltCheckerBufferedImageType4ByteABGR(image, graphics2d, RotateTransformationNearest1Op[3]);
     }
 
     /**
@@ -274,7 +274,7 @@
      */
     public TestResult testBitBltCheckerBufferedImageType4ByteABGRRotateTransformation4Nearest1Op(TestImage image, Graphics2D graphics2d)
     {
-        return doBitBltCheckerBufferedImageType3ByteRGB(image, graphics2d, RotateTransformationNearest1Op[4]);
+        return doBitBltCheckerBufferedImageType4ByteABGR(image, graphics2d, RotateTransformationNearest1Op[4]);
     }
 
     /**
@@ -288,7 +288,7 @@
      */
     public TestResult testBitBltCheckerBufferedImageType4ByteABGRRotateTransformation5Nearest1Op(TestImage image, Graphics2D graphics2d)
     {
-        return doBitBltCheckerBufferedImageType3ByteRGB(image, graphics2d, RotateTransformationNearest1Op[5]);
+        return doBitBltCheckerBufferedImageType4ByteABGR(image, graphics2d, RotateTransformationNearest1Op[5]);
     }
 
     /**
@@ -302,7 +302,105 @@
      */
     public TestResult testBitBltCheckerBufferedImageType4ByteABGRRotateTransformation6Nearest1Op(TestImage image, Graphics2D graphics2d)
     {
-        return doBitBltCheckerBufferedImageType3ByteRGB(image, graphics2d, RotateTransformationNearest1Op[6]);
+        return doBitBltCheckerBufferedImageType4ByteABGR(image, graphics2d, RotateTransformationNearest1Op[6]);
+    }
+
+    /**
+     * Test basic BitBlt operation for checker buffered image with type TYPE_4BYTE_ARGB_PRE.
+     *
+     * @param image
+     *            image used as a destination for BitBlt-type operations
+     * @param graphics2d
+     *            graphics canvas
+     * @return test result status - PASSED, FAILED or ERROR
+     */
+    public TestResult testBitBltCheckerBufferedImageType4ByteABGRPreRotateTransformation0Nearest1Op(TestImage image, Graphics2D graphics2d)
+    {
+        return doBitBltCheckerBufferedImageType4ByteABGRPre(image, graphics2d, RotateTransformationNearest1Op[0]);
+    }
+
+    /**
+     * Test basic BitBlt operation for checker buffered image with type TYPE_4BYTE_ARGB_PRE.
+     *
+     * @param image
+     *            image used as a destination for BitBlt-type operations
+     * @param graphics2d
+     *            graphics canvas
+     * @return test result status - PASSED, FAILED or ERROR
+     */
+    public TestResult testBitBltCheckerBufferedImageType4ByteABGRPreRotateTransformation1Nearest1Op(TestImage image, Graphics2D graphics2d)
+    {
+        return doBitBltCheckerBufferedImageType4ByteABGRPre(image, graphics2d, RotateTransformationNearest1Op[1]);
+    }
+
+    /**
+     * Test basic BitBlt operation for checker buffered image with type TYPE_4BYTE_ARGB_PRE.
+     *
+     * @param image
+     *            image used as a destination for BitBlt-type operations
+     * @param graphics2d
+     *            graphics canvas
+     * @return test result status - PASSED, FAILED or ERROR
+     */
+    public TestResult testBitBltCheckerBufferedImageType4ByteABGRPreRotateTransformation2Nearest1Op(TestImage image, Graphics2D graphics2d)
+    {
+        return doBitBltCheckerBufferedImageType4ByteABGRPre(image, graphics2d, RotateTransformationNearest1Op[2]);
+    }
+
+    /**
+     * Test basic BitBlt operation for checker buffered image with type TYPE_4BYTE_ARGB_PRE.
+     *
+     * @param image
+     *            image used as a destination for BitBlt-type operations
+     * @param graphics2d
+     *            graphics canvas
+     * @return test result status - PASSED, FAILED or ERROR
+     */
+    public TestResult testBitBltCheckerBufferedImageType4ByteABGRPreRotateTransformation3Nearest1Op(TestImage image, Graphics2D graphics2d)
+    {
+        return doBitBltCheckerBufferedImageType4ByteABGRPre(image, graphics2d, RotateTransformationNearest1Op[3]);
+    }
+
+    /**
+     * Test basic BitBlt operation for checker buffered image with type TYPE_4BYTE_ARGB_PRE.
+     *
+     * @param image
+     *            image used as a destination for BitBlt-type operations
+     * @param graphics2d
+     *            graphics canvas
+     * @return test result status - PASSED, FAILED or ERROR
+     */
+    public TestResult testBitBltCheckerBufferedImageType4ByteABGRPreRotateTransformation4Nearest1Op(TestImage image, Graphics2D graphics2d)
+    {
+        return doBitBltCheckerBufferedImageType4ByteABGRPre(image, graphics2d, RotateTransformationNearest1Op[4]);
+    }
+
+    /**
+     * Test basic BitBlt operation for checker buffered image with type TYPE_4BYTE_ARGB_PRE.
+     *
+     * @param image
+     *            image used as a destination for BitBlt-type operations
+     * @param graphics2d
+     *            graphics canvas
+     * @return test result status - PASSED, FAILED or ERROR
+     */
+    public TestResult testBitBltCheckerBufferedImageType4ByteABGRPreRotateTransformation5Nearest1Op(TestImage image, Graphics2D graphics2d)
+    {
+        return doBitBltCheckerBufferedImageType4ByteABGRPre(image, graphics2d, RotateTransformationNearest1Op[5]);
+    }
+
+    /**
+     * Test basic BitBlt operation for checker buffered image with type TYPE_4BYTE_ARGB_PRE.
+     *
+     * @param image
+     *            image used as a destination for BitBlt-type operations
+     * @param graphics2d
+     *            graphics canvas
+     * @return test result status - PASSED, FAILED or ERROR
+     */
+    public TestResult testBitBltCheckerBufferedImageType4ByteABGRPreRotateTransformation6Nearest1Op(TestImage image, Graphics2D graphics2d)
+    {
+        return doBitBltCheckerBufferedImageType4ByteABGRPre(image, graphics2d, RotateTransformationNearest1Op[6]);
     }
 
     /**


More information about the distro-pkg-dev mailing list