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

Pass vertex and color buffers directly to vertex shader

XMLWordPrintable

      Prism sends two buffers when rendering the 2D shapes.
      one buffer with vertex position, texture coordinates and another with color data.
      Currently we collate these two separate buffers into a single buffer in MetalContext.fillVB native method.
      Before JDK-8341599, we passed 6 vertices per quad, But after JDK-8341599 we pass the buffers as is, but only by collating them into one. This can be avoided by passing the buffers directly to shader.

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

              Created:
              Updated:
              Resolved: