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

Remove redundant end of encoder for AAShader rendering

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
      2d
    • Introduced In Version:

      Description

      src/java.desktop/macosx/native/libawt_lwawt/java2d/metal/EncoderManager.m line 370:

      368: if (_encoder != nil) {
      369: if (_destination != dest || renderOptions->isAA != _encoderStates.aa ||
      370: renderOptions->isAAShader != _encoderStates.aaShader) {

      We don’t need to end the encoder here - the appropriate state will be recovered later in the code (by updatePipelineState method).

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              avu Alexey Ushakov
              Reporter:
              avu Alexey Ushakov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: