Remove redundant end of encoder for AAShader rendering

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • None
    • Affects Version/s: None
    • Component/s: client-libs
    • 2d

      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).

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

              Created:
              Updated:
              Resolved: