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

D3D: Image gets distored when resizing, WinXP

    XMLWordPrintable

Details

    • 2d
    • b01
    • 6u5
    • b03
    • x86
    • windows_xp
    • Verified

    Description

      I am loading an image from a file and applying a gray filter on it through FilteredImageSource and rendering the original, gray image side-by-side. When the images get rendered, I am resizing the frame outwards. When I do that, both the images get distored (as shown in the screenshot) and on some machines, previously loaded images (loaded by different apps) are shown in the distored image.

      This is reproducible on WinXP, only with 6u4-b01 and not reproducible on 6u3. Hence it is a regression introduced by D3D pipeline. Distortion is noticed on Nvidia, ATI and Intel video cards with 6u4-b01.

      I have attached a sample code and an image. Run the test as follows -
      java Grayer flor2.jpg

      You will see 2 images being loaded on the screen. Try resizing the frame outward and inward a few times and you will see the distortion.
      Same distortion is seen with ShearTest.java as well. Once the duke is loaded, try resizing the frame a few times. You will notice that the duke image becomes distored and some previously loaded contents appear on the screen. I believe this is seen for every application that is resized. Seen with InterpolationTest.java also.

      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: