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

OGL: REG: RenderingTest ShearSpeed image produces artifacts since Mustang B10

XMLWordPrintable

    • 2d
    • b10
    • 6
    • b33
    • 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 "ShearSpeed" subtest in OGL mode. The bug is not reproducible in default (non-OGL) mode.

      The sheared image of Duke (magnify.gif) with magnifying glass has a gray outlined shear border.

      - 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 in OGL mode (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 -Dsun.java2d.opengl=True 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 left image which is the "ShearSpeed" subtest.

      ###@###.### 2004-12-03 20:03:38 GMT

            campbell Christopher Campbell (Inactive)
            rreynagasunw Rick Reynaga (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: