Platform Readiness & Adapter Probe (checkPlatform / findGraphics)
Flags missing Secure Context, WebAssembly, JSPI, OffscreenCanvas, or OPFS sync access handles as fatal; probes core -> compatibility -> fallback adapters preferring hardware GPUs.
Open Scope Boundaries ↗✅ Supported
- Probes OPFS createSyncAccessHandle inside /probe-worker.js with a 5s timeout
- Skips software rasterizers whenever a hardware adapter is available
⛔ Explicit Non-Goals & Limits
- Rejects non-secure HTTP LAN access or missing JSPI / OPFS sync handles
- Software-only adapters inject uiPresent=software and disable GameFI / GameSR
Parameters, Knobs & Header Guards
preferenceconfig'high-performance' | 'low-power' | ''OptionalDefault: 'high-performance'Adapter power preference sequence
storageLockmethodnavigator.locks (pvsspw-library)OptionalNon-blocking ifAvailable lock preventing concurrent library corruption