Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8309700 Low graphic rendering performance in metal pipeline
  3. JDK-8315590

drawIndexedQuads: pass only required size of vertex buffer to shader

XMLWordPrintable

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

    • generic
    • os_x

      In MetalShader.m :: drawIndexedQuads(), we pass a buffer of vertices that are used to render the Triangle primitives.
      Currently we pass the whole vertex buffer (~4 KB) every time even if we intend to render a single quad which would need 6 vertices.
      This is a minor change.

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

              Created:
              Updated:
              Resolved: