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

Remove redundant end of encoder for AAShader rendering

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • None
    • None
    • 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).

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

              Created:
              Updated:
              Resolved: