JavaFX Metal: First EA build available for Testing

Christopher Schnick crschnick at xpipe.io
Tue Jan 28 14:37:57 UTC 2025


I tested this build with our application on macOS 15.2 ARM and it worked 
perfectly fine. There were a few small color differences looking at it, 
but I see in the tracker that is already a known issue. Our application 
doesn't use any advanced rendering features where performance is 
critical, so I can't say anything about the performance difference. For 
the normal basic user interface, it felt the same as before.

Best
Christopher Schnick

On 23/01/2025 06:13, Ambarish Rapte wrote:
>
> Hello openjfx-dev,
>
> The first Early Access(EA) build of JavaFX with the macOS Metal 
> rendering pipeline is now available 
> at:https://jdk.java.net/javafxmetal <https://jdk.java.net/javafxmetal>
>
> Please test this bundle and share your feedback by:
>
> - emailingjfx-dev at openjdk.java.net <mailto:jfx-dev at openjdk.java.net>or
>
> - reporting issues via JBS[https://bugs.openjdk.org/ 
> <https://bugs.openjdk.org/>] or athttps://bugreport.java.com 
> <https://bugreport.java.com>
>
> This is the first EA release and some work is still in progress, so 
> you may encounter issues.
>
> Known issues and pending tasks are captured on JBS and can be accessed 
> using the filter provided on the Metal EA 
> page[https://jdk.java.net/javafxmetal <https://jdk.java.net/javafxmetal>].
>
> Before reporting a new bug, please review the existing issues to avoid 
> duplicates.
>
> Important Notes:
>
> 1. This is a macOS-specific feature, so only two macOS-specific 
> bundles are provided.
>
> 2. The default rendering pipeline is set to Metal. Using other 
> pipelines (e.g., -Dprism.order=es2 or -Dprism.order=sw) will result in 
> error.
>
> 3. It is recommended to use JDK 24 or later.
>
> 4. Optionally, enable Metal validations while testing, e.g.: export 
> METAL_DEVICE_WRAPPER_TYPE=1, export METAL_SHADER_VALIDATION=1
>
> 5. Must disable all the active Metal validations when testing for 
> performance, e.g.: export METAL_DEVICE_WRAPPER_TYPE=0, export 
> METAL_SHADER_VALIDATION=0
>
> 6. Issue behavior may vary across different hardware. So, please 
> provide detailed information, such as the output of "java 
> -Dprism.verbose=true", when reporting or discussing issues.
>
> 7. Refer: Run HelloWorld using JavaFX 
> SDK[https://openjfx.io/openjfx-docs/#install-javafx 
> <https://openjfx.io/openjfx-docs/#install-javafx>]
>
> We look forward to your feedback.
>
> Regards,
>
> Ambarish
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/openjfx-dev/attachments/20250128/d9ab0b9c/attachment.htm>


More information about the openjfx-dev mailing list