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.
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.