JDK-8314096 : Avoid additional flushVertexBuffer() call from MTLContext
  • Type: Sub-task
  • Component: javafx
  • Sub-Component: graphics
  • Affected Version: internal
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: os_x
  • CPU: generic
  • Submitted: 2023-08-10
  • Updated: 2023-08-13
  • Resolved: 2023-08-10
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
There is an unconditional flushVertexBuffer() call from MTLContext.setTexture() method.
This results in additional commit calls in the native level. 
Comments
Changeset: 7165bac0 Author: aghaisas <ajitgh@gmail.com> Date: 2023-08-10 15:29:02 +0000 URL: https://git.openjdk.org/jfx-sandbox/commit/7165bac0859c9b1ff86f713def5ef93be8533975
10-08-2023

Refer to the attached file showing performance gain numbers.
10-08-2023