JDK-8341599 : Use MTLRenderCommandEncoder.drawIndexedPrimitives for 2D rendering
  • Type: Sub-task
  • Component: javafx
  • Sub-Component: graphics
  • Affected Version: internal
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: os_x
  • Submitted: 2024-10-07
  • Updated: 2024-10-14
  • Resolved: 2024-10-14
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
internalFixed
Description
Currently we use drawPrimitives for rendering 2D primitives.
It can be changed to use drawIndexedPrimitives.
It will require us to create an appropriate IndexBuffer to render the vertex data that is received in form of Quads.
Comments
Changeset: 328fafaf Branch: metal Author: Ambarish Rapte <arapte@openjdk.org> Date: 2024-10-07 17:04:04 +0000 URL: https://git.openjdk.org/jfx-sandbox/commit/328fafaf98aa4129887ace2f3ec01a9a5348bba2
14-10-2024