JDK-8322627 : Release MTLBuffers on MTLMesh delete
  • Type: Bug
  • Component: javafx
  • Sub-Component: graphics
  • Affected Version: internal
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: os_x
  • CPU: generic
  • Submitted: 2023-12-21
  • Updated: 2023-12-21
  • Resolved: 2023-12-21
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
Related Reports
Blocks :  
Description
We create and Vertex and Index buffers while drawing 3D primitives.
We continue to re-use these buffers as long as number of vertices/indices is same. In case where number of vertices or indices change we release and allocate new buffers.

But at the end when MTLmesh is deleted we are not deleting these MTLBuffers.
Comments
Changeset: 15c0db9b Author: Jayathirth Rao D V <jayathirth.d.v@oracle.com> Committer: Ambarish Rapte <arapte@openjdk.org> Date: 2023-12-21 17:07:17 +0000 URL: https://git.openjdk.org/jfx-sandbox/commit/15c0db9b31880b73a7d1923135f7e29dd4de0768
21-12-2023