RFR: 8261703: Many java/awt/ tests fail with Metal API Validation Stencil PixelFormat error

Jayathirth D V jdv at openjdk.java.net
Wed Feb 17 08:15:04 UTC 2021


In LCD text rendering we get texture encoder which takes same shader parameters as LCD and then update its pipeline state locally and not in centralized MTLPaints. In cases where we use stencil based rendering and then move to LCD we will have invalid stencil state(Eventhough it doesnt change LCD text rendering output) because we override pipeline state locally after getting encoder. Moving LCD encoder state management to EncoderManager will resolve the issue when Metal API Validation is enabled.

-------------

Commit messages:
 - Initial fix

Changes: https://git.openjdk.java.net/lanai/pull/194/files
 Webrev: https://webrevs.openjdk.java.net/?repo=lanai&pr=194&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8261703
  Stats: 173 lines in 6 files changed: 40 ins; 118 del; 15 mod
  Patch: https://git.openjdk.java.net/lanai/pull/194.diff
  Fetch: git fetch https://git.openjdk.java.net/lanai pull/194/head:pull/194

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


More information about the lanai-dev mailing list