[OpenJDK 2D-Dev] RFR: 8252133: The java/awt/GraphicsDevice/DisplayModes/CycleDMImage.java fails if metal pipeline is active [v4]
Sergey Bylokhov
serb at openjdk.java.net
Wed Oct 21 00:22:13 UTC 2020
On Tue, 20 Oct 2020 23:43:46 GMT, Alexander Zuev <kizune at openjdk.org> wrote:
>> Sergey Bylokhov has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Update CGraphicsEnvironment.java
>
> src/java.desktop/macosx/classes/sun/awt/CGraphicsEnvironment.java line 182:
>
>> 180: }
>> 181: // fetch the main display again, the old value might be outdated
>> 182: mainDisplayID = getMainDisplayID();
>
> What action since line 162 can trigger changing the getMainDisplayID() outcome?
If the main screen is not in the list of screens means that the system monitors were changed in some way after this
method was called and we will get one more notification later.
-------------
PR: https://git.openjdk.java.net/jdk/pull/554
More information about the 2d-dev
mailing list