JDK-8326380 : Add MTLGraphics.sync() and MTLResourceFactory.isCompatibleTexture() implementation
  • Type: Bug
  • Component: javafx
  • Sub-Component: graphics
  • Affected Version: internal
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: os_x
  • CPU: generic
  • Submitted: 2024-02-21
  • Updated: 2024-02-23
  • Resolved: 2024-02-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
Relates :  
Description
Implement these two dummy methods -
- MTLGraphics.sync() 
- MTLResourceFactory.isCompatibleTexture() 


MTLGraphics.sync() is used to draw rectangles showing dirty regions being updated when -Dprism.showoverdraw is set to true.

MTLResourceFactory.isCompatibleTexture() is used in canvas rendering.

Comments
Changeset: 7c341cad Author: aghaisas <ajitgh@gmail.com> URL: https://git.openjdk.org/jfx-sandbox/commit/7c341cadb56bcb8f9dfc230d788dcbc0fe7d0316
21-02-2024

With MTLGraphics.sync() implementation, running Ensemble8 demo with -Dprism.showoverdraw=true shows output similar to OpenGL pipeline in most of the cases. In some cases the output differs and that need to be fixed as separate bugs.
21-02-2024