ClearRect: Separate method for clearing rect

XMLWordPrintable

    • Type: Sub-task
    • Resolution: Fixed
    • Priority: P4
    • internal
    • Affects Version/s: internal
    • Component/s: javafx
    • Environment:

      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.

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

              Created:
              Updated:
              Resolved: