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

D3D: scaling and drawing the image using g.drawImage does not scale the image properly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 6
    • 6
    • client-libs
    • 2d
    • 6
    • b92
    • x86
    • windows_xp
    • Verified

      I have a buffered of size 50, 50 and I am drawing this image into another volatile image, scaling the buff image to the size of Vimage (200, 200). When I draw it the second time by calling g.drawImage(bimg, 0, 0, targetWidth, targetHeight) the image does not scale, especially when the KEY_RENDERING, RENDER_QUALITY rendering hint is specified.

      This is reproducible on WinXP with latest mustang build (b84) only with D3D pipeline. Not reproducible on OGL, ddraw or noddraw. This is reproducible on Mustang-b59d also.

      I have attached a sample test which reproduces this problem on D3D.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: