Skip to content

Preserve video filtering for lossless compact CPU frames - #48

Draft
mstan wants to merge 1 commit into
mainfrom
feat/cpu-video-pixel-pairs-20261115
Draft

mstan wants to merge 1 commit into
mainfrom
feat/cpu-video-pixel-pairs-20261115

Conversation

@mstan

@mstan mstan commented Nov 15, 2026 •

Copy link
Copy Markdown
Member

Compact CPU video frames must preserve the same image produced by the existing filtering pipeline. This uploads lossless horizontal pixel pairs to a private texture, reconstructs the canonical full-width image with a nearest GPU blit, then applies the existing filtering, mipmap, integer scaling and snapshot paths.

Support is advertised only when the required blit entry points are available. Ordinary frames and transitions retain their existing path. The runtime submodule includes the negotiated optional compact-frame contract, host-owned targets and previous-frame repeats.

Validation: the existing picture tests pass. An actual NVIDIA OpenGL 3.2 offscreen comparison is byte-identical for 30 compact/ordinary combinations across five filtering styles and three output sizes, including minification, alpha, orientation, snapshots and transitions. Complete N64 production routes preserve audio, progress and final pictures with zero faults using the matching runtime.

This draft is part of the coordinated video optimization change. Final combined integration and visual review remain pending.

Companion runtime: RetroPortingToolKit/Retro-Runtime#12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant