Plan OpenGL texture command metadata

This commit is contained in:
2026-06-02 20:59:05 +02:00
parent b4c2117992
commit b6a25474ff
7 changed files with 324 additions and 30 deletions

View File

@@ -275,9 +275,10 @@ Known local toolchain state:
blit filters into GL-facing planned command data while rejecting unsupported
enum tokens before a real GL context is needed. It also plans whole recorded
command streams, preserving per-command planned data while counting render
passes, draws, passthrough commands, trace commands, unsupported commands,
and render-pass ordering errors such as state changes outside a pass, nested
passes, and unclosed passes.
passes, draws, texture uploads, mipmap generation, texture transitions,
texture copies, texture readbacks, frame captures, passthrough commands,
trace commands, unsupported commands, and render-pass ordering errors such as
state changes outside a pass, nested passes, and unclosed passes.
Desktop VR drawing also consumes backend-owned scissor/depth/blend state,
depth clear masks, active texture units, and fallback 2D texture unbind
targets while retaining the existing VR SDK/platform bridge shape.
@@ -342,8 +343,9 @@ Known local toolchain state:
labeled descriptor counts, backend resource creation counts, plus draw
descriptor vertex/index totals. When `pp_renderer_gl` is available, it also
emits an `openGlPlan` JSON object with the planned command count, support
status, render-pass/draw/passthrough/trace counts, unsupported command count,
render-pass order error count, and unclosed-pass state. Its
status, render-pass/draw/texture-upload/mipmap/transition/copy/readback/
capture/passthrough/trace counts, unsupported command count, render-pass
order error count, and unclosed-pass state. Its
`--exercise-clear` mode verifies
interrupted-frame recorder clear/reuse behavior and reports the result in
JSON, and is covered by `pano_cli_record_render_smoke`,