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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.0
    • 1.4.0
    • client-libs
    • None
    • 2d
    • rc1
    • x86
    • linux, windows_nt
    • Verified


      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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: