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

OGL: AutoJ2DGraphics GeneralPathTest not properly filling outlined areas

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 5.0
    • client-libs
    • 2d
    • sparc
    • solaris_10

      The AutoJ2DGraphics GeneralPathTest not properly filling outlined areas if the test is run with OGL flag.

      Comparing the rendered test images with and without OGL, the OGL renderings are leaving lots of gaps (white space) between the outline and the filled contents. These gaps are not seen if not using OGL pipeline.

      - This problem is reproducable on all OGL supported platforms (Solaris10, Red Hat AS 3.0, and WinXP)

      - Reproducable with recent and earlier Tiger builds including 1.5.0-beta2-b51.

      - Attached is a standalone version of the AutoJ2DGraphics mediaserver test case GeneralPathTest.java (and associated classes).

      Steps to reproduce
      ==================
      1) Set JAVA_HOME to recent Tiger build
      2) Compile and run attached test cases GeneralPathTest.java

      3) Run the test with opengl
      $JAVA_HOME/bin/java -Dsun.java2d.opengl=True GeneralPathTest

      4) Run the test without opengl
      $JAVA_HOME/bin/java GeneralPathTest

      5) Compare the two renderings and observe the difference on how outlined areas are filled.

            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: