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

Minor cleanup of Lanai code - unused code removal and comments correction

    XMLWordPrintable

    Details

    • Subcomponent:
      2d
    • Resolved In Build:
      b21
    • CPU:
      x86_64
    • OS:
      os_x

      Description

      1) Remove unused NSRect and NSWindow from MTLGraphicsConfig.m _getMTLConfigInfo() method
      2) MTLGraphicsConfig.java has a comment that indicates "getMTLConfigInfo() creates and destroys temporary surfaces/contexts," - it is not valid as we only create MTLContext in that method. This comment needs to be corrected.
      3) Description comment of the abstract method - createSurfaceData() in CGraphicsConfig.java needs to specify both CGLLayer/MTLLayer as now we are implementing this method in both pipeline.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              aghaisas Ajit Ghaisas
              Reporter:
              aghaisas Ajit Ghaisas
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: