JDK-8314514 : Reduce MTLRenderCommandEncoders wherever possible
Type:Sub-task
Component:javafx
Sub-Component:graphics
Affected Version:internal
Priority:P3
Status:Resolved
Resolution:Fixed
OS:os_x
CPU:generic
Submitted:2023-08-17
Updated:2023-08-18
Resolved:2023-08-18
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 each drawIndexedQuad() call creates a new MTLRenderCommandEncoder, encodes the draw call and ends the encoder.
The best practice is to combine the MTLRenderCommandEncoders wherever possible.