[OpenJDK 2D-Dev] RFR: 8266159: macOS ARM + Metal pipeline shows artifacts on Swing Menu with Java L&F [v3]
Phil Race
prr at openjdk.java.net
Tue Jun 8 14:58:20 UTC 2021
On Tue, 8 Jun 2021 09:34:38 GMT, Ajit Ghaisas <aghaisas at openjdk.org> wrote:
>> test/jdk/java/awt/Graphics/DrawOvalTest.java line 26:
>>
>>> 24: /**
>>> 25: * @test
>>> 26: * @key headful
>>
>> I feel there's nop need to have headful tag for this test as there is no frame being made visible, all rendering are into volatileimage
>
> There is a call to `getDefaultScreenDevice()` in test that throws `java.awt.HeadlessException` if the test is not marked as headful. Request you to file a follow-on bug if the test can be modified to make it headless.
No, leave it headful.Headless would (should) not use Metal or OpenGL.
it would be all software loops.
If we are enabling metal or opengl in headless mode then that itself is a bug.
-------------
PR: https://git.openjdk.java.net/jdk/pull/4356
More information about the 2d-dev
mailing list