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

PIT: OGL: Red, Blue, Yellow colors are swapped when drawing to offscreen, linux

XMLWordPrintable

    • 2d
    • x86
    • linux_sun

      I am drawing 3 filled rectangles to an offscreen image and the rectangles are filled with solid red, blue and yellow colors respectively. When I run this on Linux with opengl flag, red and blue colors are swapped and yellow color appears as light blue. This is noticed only on the following PIT build:
      java version "1.6.0-2d.pit-jcg-win-03"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-2d.pit-jcg-win-03-java2d_15_apr_2005_02_14)
      Java HotSpot(TM) Client VM (build 1.6.0-ea-b32, mixed mode)

      Not reproducible with default mode. Not reproducible with Mustang-b31 on OpenGL. I have attached a screenshot of the same. I reproduced it on Cinnabar with ATI Radeon 9600XT. This is not reproducible when drawing directly to the screen.

      I have attached a sample test. Execute the sample test on linux with OpenGL flag. If you see the colors appearing incorrectly, the bug is reproduced.

      ###@###.### 2005-04-18 14:52:01 GMT

            campbell Christopher Campbell (Inactive)
            pmohansunw Praveen Mohan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: