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

D3D: improve performance by reducing state changes

XMLWordPrintable

    • 2d
    • b01
    • 6u5
    • b04
    • x86
    • windows_xp
    • Verified

      Currently the pipeline does a lot of context changes because
      UpdateState(STATE_CHANGE) is used for both flushing the
      vertex cache and disabling the current state, so in many
      places where we only want to flush the vertex cache we
      also disable the state just to have it re-enabled
      for the next operation.

      This leads to cases where for example for each blit we
      set the source texture first to null and then back
      to the source texture.

      There is no need to do this for many cases like rect clip,
      destination surface or transform changes.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: