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

D3D: SW->Accelerated surface blits are slower with the new pipeline

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: dr2, 6u10
    • Fix Version/s: None
    • Component/s: client-libs
    • Labels:
      None
    • Subcomponent:
      2d
    • Understanding:
      Cause Known
    • Introduced In Build:
      b01
    • Introduced In Version:
    • CPU:
      x86
    • OS:
      windows_xp

      Description

      Copying uncached heap-based images to an accelerated surface is slower with
      the new pipeline than in earlier releases, especially when copying
      to the screen.

      This affects applications which do software-only rendering
      (direct pixel manipulation) and then copy images to the screen.

      With the attached application:
      6u4:
      #>java PerfTest
      using AWT
      using BI->Screen
      1367
      1622
      1641
      1636

      6u10:
      #>java PerfTest
      using AWT
      using BI->Screen
      812
      908
      997
      936

      6u4: (BI->BS->screen)
      #> java -Dusebs=true PerfTest
      using AWT
      using BS
      1786
      2256
      2259
      2260

      6u10: (BI->BS->screen)
      #>java -Dusebs=true PerfTest
      using AWT
      using BS
      1204
      1334
      1382
      1381

      In both 6u4 and 6u10 the GDI pipeline is the fastest for this
      particular application:

      6u4:
      #> java -Dsun.java2d.noddraw=true PerfTest
      using AWT
      using BI->Screen
      3147
      3425
      3429
      6u10:

      #>java -Dsun.java2d.d3d=false PerfTest
      using AWT
      using BI->Screen
      3321
      3497
      3538

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Imported:
                  Indexed: