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

Remove redundant end of encoder for AAShader rendering

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • None
    • None
    • client-libs
    • 2d

    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

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

              Dates

                Created:
                Updated:
                Resolved: