Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6203953

REG: RenderingTest ShearQuality image not drawn properly since Mustang B10

XMLWordPrintable

    • 2d
    • beta
    • generic
    • generic
    • Verified

      The 2D RenderingTest.java draws four images using different combinations of RenderinHints and Transformations:
      - ScaleSpeed
      - ScaleQuality
      - ShearSpeed
      - ShearQuality

      With the Mustang B10 build a regression has occured with the "ShearQuality" subtest in default (non-OGL) mode. The bug is not reproducible in OGL mode.

      The sheared image of Duke (magnify.gif) with magnifying glass is slightly distorted in that the interior edges introduce some rough outlining pixels (and also a small line that is not in the original image).

      - RenderingTest.java test is run with a couple of 2D test suites, 2D_AutoJava2Demo and 2D_JavaOGLBAT
      - The bug is also occuring in a more complex image rendering test PixelInterpolationTest.java
      - Both standalone test cases (with images) are attached to this bug report

      - The bug occurs on all platforms (Solaris10, RHAS3.0, and WinXP)

      - This bug is not reproducible with Tiger FCS build

      Steps to reproduce
      ==================
      When extracting the attached files, the 3 images need to be placed in a directory called "images"

      1) Set JAVA_HOME environment variable to Mustang build b10 (or later)
      2) Compile and run the test case
      $JAVA_HOME/bin/javac RenderingTest.java
      $JAVA_HOME/bin/java RenderingTest

      3) The automated test will render the image on screen and then use a Robot capture to save the image to a file image.png.

      4) The image will draw all the four subtests. Examine the lower right image which is the "ShearQuality" subtest.

      ###@###.### 2004-12-03 19:54:02 GMT

            flar Jim Graham
            rreynagasunw Rick Reynaga (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: