Add opt-in desktop GPU readback gate

This commit is contained in:
2026-06-12 22:06:14 +02:00
parent ec5f4b76ec
commit e37b29296e
5 changed files with 221 additions and 4 deletions

View File

@@ -51,7 +51,7 @@ or temporary adapters live only in chat history.
| 4 | Component Split Without Behavior Change | Started | Each extracted target builds and tests |
| 5 | Renderer Boundary And OpenGL Parity | Started | OpenGL output matches golden readbacks |
| 6 | Platform Alignment | Started | Every supported platform has named validation |
| 7 | Hardening, Coverage, And Breaking-Point Tests | Not started | Each component has edge/failure tests |
| 7 | Hardening, Coverage, And Breaking-Point Tests | Started | Each component has edge/failure tests |
| 8 | Future Backend Readiness | Not started | Vulkan/Metal lab targets remain non-default |
## Measurable Task Tracking
@@ -1729,6 +1729,14 @@ Gate:
## Phase 7: Hardening, Coverage, And Breaking-Point Tests
Status: started. The first opt-in desktop GPU golden/readback gate now lives in
`pp_renderer_gl_gpu_readback_tests` and is selected by the existing
`desktop-gpu` preset. It creates a tiny desktop OpenGL context, clears to a
deterministic 1x1 red fixture, reads back exact RGBA bytes, and skips with a
clear message when no GPU/context helper is available. The first helper is
Windows/WGL-only; macOS/Linux helpers and broader render golden coverage remain
tracked under `DEBT-0036`.
Goal: tests should try to break components, not only confirm current happy
paths.