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

PIT: D3D: Copying VolatileImage to the window of small size causes an infinite validation loop

    XMLWordPrintable

Details

    • 2d
    • b10
    • b11
    • x86
    • windows_xp
    • Verified

    Description

      I am rendering a volatile image on to a frame and validating it within the paint method of the frame. When the frame appears, try doing any of the following -

      1. Open display settings and change the color depth to 16 bit.
      2. resize the frame inward so that frame becomes as small as 20x20.

      The above operations make the validation loop run infinitely. This is reproducible only on 6u10-b10 PIT build and not reproducible on b09. Not reproducible on earlier releases (ddraw, d3d on jdk6-fcs) and hence a regression in D3D. I reproduced it on WinXP, WinVista Home Premium with ATI as well as Nvidia video boards.

      Run the test - VolatileFlushTest_new.java. When the frame appears, reduce the size of the frame to 20x20 or lesser. You will see the infinite loop on the console.

      (The same issue can be reproduced with another test also - VolatileFlushTestCanvas).

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: