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.

To download the current JDK release, click here.
Other
internalFixed
Description
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.
Comments
Changeset: c2408d6b Author: aghaisas <ajitgh@gmail.com> Date: 2023-08-17 19:16:27 +0000 URL: https://git.openjdk.org/jfx-sandbox/commit/c2408d6be47668377c08ac8cecfaf27b03d968a1 Co-authored-by:Ambarish Rapte <arapte@openjdk.org>
17-08-2023