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

[embedded] Image rotated when rendered with -Dsun.java2d.opengl=True

XMLWordPrintable

    • 2d
    • arm
    • linux

      I observe the following on linux-armhf.

      I have one and the same java program (attached).

      However, It renders differently if run with -Dsun.java2d.opengl=True option.

      When run with -Dsun.java2d.opengl=True option the image seems to be turned upside down.

      I have attached the program and the different images it produces.

      To run:

      1) java -Dsun.java2d.opengl=False -cp ./RenderingTest.jar RenderingTest -show
      2) java -Dsun.java2d.opengl=True -cp ./RenderingTest.jar RenderingTest -show

      You will see the images are different on screen in these two cases

      I do not observe this on linux-i586

        1. image_ogl_off.png
          image_ogl_off.png
          132 kB
        2. image_ogl_on.png
          image_ogl_on.png
          132 kB
        3. RenderingTest.jar
          15 kB
        4. RenderingTest.java
          8 kB

            serb Sergey Bylokhov
            akulyakh Alexander Kulyakhtin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: