Skip to content

PVSSPW · Workbench Gates, Adaptive SMP, Zero-Copy Post-FX & Probe API

5 APIs / Components

Documents pre-launch capability checks & Web Locks, thread-policy.js adaptive pooling, frameflow-worker.js 3-slot sharing, serve.py loopback checks, and worker-probe.js.

SDKSecure Context + Worker ProbesPre-Launch Hard Gate

Platform Readiness & Adapter Probe (checkPlatform / findGraphics)

checkPlatform() + probeGraphics(preference)

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)Optional

Non-blocking ifAvailable lock preventing concurrent library corruption

Status & Guards

OK · HardwareAdapterAll fatal gates pass with hardware WebGPU adapter
Fatal · MissingCapabilityStops launch before core allocation with fix hint