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

      fx-sandbox:metal branch

    • generic
    • os_x

      Currently the drawIndexedQuads method uses [MTLRenderEncoder setVertexBytes] method to pass the vertex data to vertex shader function.

      The method [MTLRenderEncoder setVertexBytes] can be used only for <= 4KB data.
      In scenarios when the input vertex data is very large, it requires more number of setVertexBytes calls.
      This can be avoided by using [MTLRenderEncoder setVertexBuffer] method instead, which would need only one call.

      There are 2 other setVertexBytes calls in clearRTT, which can be replaced.

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

              Created:
              Updated:
              Resolved: