# HG changeset patch # User Pavel Tisnovsky # Date 1458830116 -3600 # Node ID c6f1824b44a5c760f657f03c3cda7ebf8115ed0f # Parent 007d5069d4b7d45b33e424728b1f023902e1be07 Another ten new tests added into BitBltConvolveOp. diff -r 007d5069d4b7 -r c6f1824b44a5 ChangeLog --- a/ChangeLog Thu Mar 24 15:25:44 2016 +0100 +++ b/ChangeLog Thu Mar 24 15:35:16 2016 +0100 @@ -1,3 +1,8 @@ +2016-03-24 Pavel Tisnovsky + + * src/org/gfxtest/testsuites/BitBltConvolveOp.java: + Another ten new tests added into BitBltConvolveOp. + 2016-03-24 Pavel Tisnovsky * src/org/gfxtest/testsuites/BitBltConvolveOp.java: diff -r 007d5069d4b7 -r c6f1824b44a5 src/org/gfxtest/testsuites/BitBltConvolveOp.java --- a/src/org/gfxtest/testsuites/BitBltConvolveOp.java Thu Mar 24 15:25:44 2016 +0100 +++ b/src/org/gfxtest/testsuites/BitBltConvolveOp.java Thu Mar 24 15:35:16 2016 +0100 @@ -788,6 +788,146 @@ } /** + * Test basic BitBlt operation for checker buffered image with type {@link BufferedImage#TYPE_4BYTE_ABGR}. + * + * @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 testBitBltCheckerBufferedImageType4ByteABGRprebackgroundNoOpKernel1x1ROP(TestImage image, Graphics2D graphics2d) + { + return doBitBltCheckerBufferedImageType4ByteABGRPre(image, graphics2d, noopKernel1x1ROP); + } + + /** + * Test basic BitBlt operation for checker buffered image with type {@link BufferedImage#TYPE_4BYTE_ABGR}. + * + * @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 testBitBltCheckerBufferedImageType4ByteABGRprebackgroundNoOpKernel3x3ROP(TestImage image, Graphics2D graphics2d) + { + return doBitBltCheckerBufferedImageType4ByteABGRPre(image, graphics2d, noopKernel3x3ROP); + } + + /** + * Test basic BitBlt operation for checker buffered image with type {@link BufferedImage#TYPE_4BYTE_ABGR}. + * + * @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 testBitBltCheckerBufferedImageType4ByteABGRprebackgroundNoOpKernel5x5ROP(TestImage image, Graphics2D graphics2d) + { + return doBitBltCheckerBufferedImageType4ByteABGRPre(image, graphics2d, noopKernel5x5ROP); + } + + /** + * Test basic BitBlt operation for checker buffered image with type {@link BufferedImage#TYPE_4BYTE_ABGR}. + * + * @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 testBitBltCheckerBufferedImageType4ByteABGRprebackgroundSmoothingKernel2x2ROP(TestImage image, Graphics2D graphics2d) + { + return doBitBltCheckerBufferedImageType4ByteABGRPre(image, graphics2d, smoothingKernel2x2ROP); + } + + /** + * Test basic BitBlt operation for checker buffered image with type {@link BufferedImage#TYPE_4BYTE_ABGR}. + * + * @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 testBitBltCheckerBufferedImageType4ByteABGRprebackgroundSmoothingKernel3x3ROP(TestImage image, Graphics2D graphics2d) + { + return doBitBltCheckerBufferedImageType4ByteABGRPre(image, graphics2d, smoothingKernel3x3ROP); + } + + /** + * Test basic BitBlt operation for checker buffered image with type {@link BufferedImage#TYPE_4BYTE_ABGR}. + * + * @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 testBitBltCheckerBufferedImageType4ByteABGRprebackgroundSmoothingKernel5x5ROP(TestImage image, Graphics2D graphics2d) + { + return doBitBltCheckerBufferedImageType4ByteABGRPre(image, graphics2d, smoothingKernel5x5ROP); + } + + /** + * Test basic BitBlt operation for checker buffered image with type {@link BufferedImage#TYPE_4BYTE_ABGR}. + * + * @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 testBitBltCheckerBufferedImageType4ByteABGRprebackgroundSobelOperatorGxROP(TestImage image, Graphics2D graphics2d) + { + return doBitBltCheckerBufferedImageType4ByteABGRPre(image, graphics2d, sobelOperatorGxROP); + } + + /** + * Test basic BitBlt operation for checker buffered image with type {@link BufferedImage#TYPE_4BYTE_ABGR}. + * + * @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 testBitBltCheckerBufferedImageType4ByteABGRprebackgroundSobelOperatorGyROP(TestImage image, Graphics2D graphics2d) + { + return doBitBltCheckerBufferedImageType4ByteABGRPre(image, graphics2d, sobelOperatorGyROP); + } + + /** + * Test basic BitBlt operation for checker buffered image with type {@link BufferedImage#TYPE_4BYTE_ABGR}. + * + * @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 testBitBltCheckerBufferedImageType4ByteABGRprebackgroundLaplaceOperatorROP(TestImage image, Graphics2D graphics2d) + { + return doBitBltCheckerBufferedImageType4ByteABGRPre(image, graphics2d, laplaceOperatorROP); + } + + /** + * Test basic BitBlt operation for checker buffered image with type {@link BufferedImage#TYPE_4BYTE_ABGR}. + * + * @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 testBitBltCheckerBufferedImageType4ByteABGRprebackgroundLaplaceOperatorDiagROP(TestImage image, Graphics2D graphics2d) + { + return doBitBltCheckerBufferedImageType4ByteABGRPre(image, graphics2d, laplaceOperatorDiagROP); + } + + /** * Test basic BitBlt operation for diagonal checker buffered image with type {@link BufferedImage#TYPE_3BYTE_BGR}. * * @param image