<Swing Dev> EA8 build of Project Lanai (Java 2D Metal rendering pipeline for macOS) is now posted

Jayathirth D v JAYATHIRTH.D.V at ORACLE.COM
Fri Dec 18 02:55:39 UTC 2020


Hi Phil,

> On 18-Dec-2020, at 12:23 AM, Philip Race <philip.race at oracle.com> wrote:
> 
> It was turned off in this commit : https://github.com/openjdk/lanai/commit/501ace02
> because the messages were causing spurious test failures.
> 
> Although my request was that we still print a message if you use "True" as with other pipelines.
> 
> Jay : please update your previous fix.

I have created https://bugs.openjdk.java.net/browse/JDK-8258658 <https://bugs.openjdk.java.net/browse/JDK-8258658> for the same.

> 
> -phil.
> 
> On 12/17/20, 10:37 AM, Alan Snyder wrote:
>> I tried this and did not see the confirmation message that metal was being used. The program was run from IDEA.
>> 
>> 
>> /Library/Java/JavaVirtualMachines/jdk-17-lanai-8.jdk/Contents/Home/bin/java -Dapple.laf.useScreenMenuBar=true -Dapple.awt.application.appearance=system -Dsun.java2d.metal=true -Xmx512m -ea -Djava.awt.smartInvalidate=true -Xdock:icon=resources_macosx/TestVAqua.icns -Dno.font.workaround=true -Djava.library.path=/Volumes/L/P/hack/VEmbeddedView/out/jni:/Volumes/L/P/hack/VFileDialog/out/jni -Didea.launcher.port=63057 -Didea.launcher.bin.path=/Applications/SharedApplications/IntelliJ IDEA/MyIDEA 74.app/Contents/bin -Dfile.encoding=UTF-8 -classpath …
>> 
>> **************************************************************************************************************
>> TestVAqua: Java version 17-lanai, runtime 17-lanai+1-2, vm 17-lanai+1-2 (Mac OS X 10.15.6)
>> Java free memory: 533256192 out of 536870912 bytes, maximum 536870912
>> JVM: 96526
>> **************************************************************************************************************
>> 
>> 
>>> On Dec 16, 2020, at 11:57 PM, Philip Race<philip.race at oracle.com>  wrote:
>>> 
>>> The EA 8 build of Project Lanai [1] was posted today at https://jdk.java.net/lanai/
>>> 
>>> EA 8 Build 17-lanai+1-2 (2020/12/12)
>>> 
>>> Please do give it a try (-Dsun.java2d.metal=true) and let us know of issues.
>>> 
>>> One particular request :
>>> To anyone who has a mac still running 10.12 - we don't expect Metal to run (it requires at least 10.13
>>> and maybe even later by the time it is final) but we would like confirmation that nothing in Metal
>>> prevents OpenGL running on older releases.
>>> Note there is currently a hotspot build bug unrelated to Lanai that prevents running on 10.10
>>> and maybe 10.11 but 10.12 will be a useful data point.
>>> 
>>> EA 8 contains the following new bug fixes relative to EA 7
>>> 
>>> 8257886: Build issue in macOS 10.14
>>> 8256683: Lanai: NetBeans IDE - AA Text rendering appears brighter compared to OpenGL
>>> 8242925: J2DDemo - Anti-Aliasing with Metal differs from OGL
>>> 8257618: Lanai: GradientPaint interpolates over stops limits
>>> 8257566: Lanai: System runs out of application memory while running the Unmanaged_BufferredImage_draw_NearestNeighbor test multiple times
>>> 8257441: Lanai: java/awt/image/VolatileImage/DrawHugeImageTest fails
>>> 8257442: Lanai: Create RenderPerf tests for SW to HW blits
>>> 8257413: Lanai - Use optimum sized temporary buffer while replacing texture region
>>> 8238285: Lanai: java/awt/image/DrawImage tests fail
>>> 8256576: DrawImage/BlitRotateClippedArea fails
>>> 
>>> -phil.
>>> 



More information about the lanai-dev mailing list