[OpenJDK 2D-Dev] RFR: 8263488: Verify CWarningWindow works with metal rendering pipeline
Ajit Ghaisas
aghaisas at openjdk.java.net
Fri Mar 19 10:22:48 UTC 2021
Root cause :
CWarningWindow creates a MTLLayer with null peer.
In MTLLayer.replaceSurfaceData() method, insets should be set only if peer is not null.
Fix :
Added the required null check.
-------------
Commit messages:
- set native insets only if peer is not null
Changes: https://git.openjdk.java.net/jdk/pull/3086/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=3086&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8263488
Stats: 4 lines in 1 file changed: 2 ins; 0 del; 2 mod
Patch: https://git.openjdk.java.net/jdk/pull/3086.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/3086/head:pull/3086
PR: https://git.openjdk.java.net/jdk/pull/3086
More information about the 2d-dev
mailing list