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

REGRESSION: Bug 5073407 also applies to grayscale images

    XMLWordPrintable

    Details

    • Subcomponent:
      2d
    • CPU:
      x86
    • OS:
      windows_xp

      Description



      Name: jl125535 Date: 09/27/2004


      A DESCRIPTION OF THE PROBLEM :
      The fix cited in bug # 5073407 must be included in the 1.5 release, otherwise no imaging application works.

      Using drawImage when the current graphics context contains a scaling transform is SEVERAL orders of magnitude slower than 1.4.2.

      Before, smooth scrolling, now the scrolling is unusable. It is not just the TYPE_3BYTE_BGR images as identified in bug # 5073407, it is also grayscale images.

      Grayscale images are required for 'smooth' document imaging applications.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Use the test case from bug # 5073407. Change one line as follows:

      // Img = new BufferedImage(1697, 2003, BufferedImage.TYPE_3BYTE_BGR);
              Img = new BufferedImage(1697, 2003, BufferedImage.TYPE_BYTE_GRAY);


      ACTUAL -
      moving the slider bar is extremey slow. Run exact code under 1.4.2 and it is extremely FAST.

      REPRODUCIBILITY :
      This bug can be reproduced always.

      Release Regression From : 1.4.2
      The above release value was the last known release where this
      bug was known to work. Since then there has been a regression.

      (Incident Review ID: 311677)
      ======================================================================

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              flar Jim Graham
              Reporter:
              jleesunw Jon Lee (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: