RFR: 8252499: UI text of application with metal pipeline is lost when another application is launched with OpenGL pipeline

Ajit Ghaisas aghaisas at openjdk.java.net
Fri Sep 18 05:17:44 UTC 2020

Issue : https://bugs.openjdk.java.net/browse/JDK-8252499

Root cause : Text glyph cache created on one device (graphics card) is continued to be used even after graphics card
Fix : We already delete SurfaceData on graphics card switch. I have added code to free the text glyph cache at the same
location. Note - The text glyph cache gets recreated on new device with exiting code flow - hence there is no need to
add new code to handle it.


Commit messages:
 - 8252499_fix

Changes: https://git.openjdk.java.net/lanai/pull/103/files
 Webrev: https://webrevs.openjdk.java.net/?repo=lanai&pr=103&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8252499
  Stats: 18 lines in 3 files changed: 18 ins; 0 del; 0 mod
  Patch: https://git.openjdk.java.net/lanai/pull/103.diff
  Fetch: git fetch https://git.openjdk.java.net/lanai pull/103/head:pull/103

PR: https://git.openjdk.java.net/lanai/pull/103

More information about the lanai-dev mailing list