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

Wait for completion of a single CommandBuffer when all buffers are in use

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: P3 P3
    • internal
    • internal
    • javafx
    • jfx-sandbox:metal branch

      We create three buffers to store data for use with MTLCommandBuffer.

      During performance testing, we observed a scenario where all three command buffers could be submitted for execution but remain incomplete. In such cases, we end up waiting for all three command buffers to finish, leading to a longer wait time and causing the CPU to stall while encoding commands.

      To optimize this, we need to modify the approach so that we wait for only one MTLCommandBuffer to complete execution, which would release a buffer.

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

              Created:
              Updated:
              Resolved: