RFR: 8258754: Gracefully fallback to the OpenGL rendering pipeline if Metal rendering pipeline initialization fails [v7]

Ajit Ghaisas aghaisas at openjdk.java.net
Fri Jan 15 05:38:33 UTC 2021


> This implements fallback to the OpenGL rendering pipeline if Metal rendering pipeline initialization fails.
> I have tested this fallback on 10.15.4 by stubbing code. We need real testing on a system where Metal is not available.

Ajit Ghaisas has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains seven commits:

 - Merge branch 'master' into fallback_to_opengl
 - Address review comments
 - Cover all combinations of OGL and Metal pipelines
 - implement fallback for OpenGL pipeline as well
 - Merge
 - do metal framework availability check once and cache it
 - fallback to opengl if metal initialization fails

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

Changes: https://git.openjdk.java.net/lanai/pull/147/files
 Webrev: https://webrevs.openjdk.java.net/?repo=lanai&pr=147&range=06
  Stats: 386 lines in 15 files changed: 197 ins; 144 del; 45 mod
  Patch: https://git.openjdk.java.net/lanai/pull/147.diff
  Fetch: git fetch https://git.openjdk.java.net/lanai pull/147/head:pull/147

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


More information about the lanai-dev mailing list