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

no-dga/no-ddraw image copies perform badly since accelerated surface punt

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 1.4.0
    • Fix Version/s: 1.4.0
    • Component/s: client-libs
    • Labels:
      None
    • Subcomponent:
      2d
    • Resolved In Build:
      rc1
    • CPU:
      x86
    • OS:
      linux, windows_nt
    • Verification:
      Verified

      Description


      The new code (since implementing the mechanism of punting accelerated surfaces
      to system memory, based on read operations of that surface) mistakenly
      copies out the destination image to the temporary buffer in _all_ cases
      when we really only need those pixels if we are actually reading the dest
      pixels or doing a partial-write to them.

      You can see the performance degredation if you run
      src/share/test/java2d/J2DBench/J2DBench on a build prior to last week
      (such as build 79) and a build from this week. Opaque image copies
      run much slower now than they did before. Note that you must run with
      -Dsun.java2d.noddraw on win32 or setenv J2D_NO_DGA on Solaris to see
      this effect.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              tdv Dmitri Trembovetski (Inactive)
              Reporter:
              chaasesunw Chet Haase (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: