Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8310273 Metal - code cleanup
  3. JDK-8311042

ClearRect: Separate method for clearing rect

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: P4 P4
    • internal
    • internal
    • javafx
    • fx-sandbox:metal branch

    • generic
    • os_x

      Currently we reuse MetalContext.drawIndexedQuads() method to draw the clearRect.
      The MetalContext.drawIndexedQuads() gets unnecessary if else check which does not look good on eye.

      The current code of MetalContext.drawIndexedQuads() adds few un-required commands to MTLCommandBuffer.
      Those commands can be reduced: that does not result in any huge performance gain.

            arapte Ambarish Rapte
            arapte Ambarish Rapte
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: