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

PIT:D3D: Background appears white when using a BufferStrategy with FlipContents.BACKGROUND

XMLWordPrintable

    • 2d
    • x86
    • windows_xp

      I am rotating an Image through a BufferStrategy created out of a Canvas. The front and back buffers are accelerated and FlipContents is set to BACKGROUND. Till jdk6u10-b11, the background of the application was appearing black but on 6u10-b12 PIT build, the background appears in white color. Other FlipContents types seem to work fine.

      I reproduced it on WinXP with Nvidia GeForce 7600 GS, installed with the latest driver using jdk6u10-b12 PIT build. The background becomes black when I turn off the D3D on 6u10-b12.

      I have attached a sample test herewith. Just compile and run the test. If you see a white background, the bug is reproduced.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: