Files
CoopAllTheThings/tools/mock_game/render_dx10.cpp
BlackMark 9a736cf477 Give the mock-game backends one source of truth for the test pattern
The animated pattern math (background sweep, moving 24px bar, frame-
counter block) was copy-pasted across all five clear-based backends
(dx9/dx10/dx11/dx12/gl). The backends MUST render an identical image --
the capture test decodes the same frame-counter block from each -- so a
drift between copies would be a silent test hazard.

Factor it into one frame_pattern() helper (plus kBarWidth) in
render_backend.hpp; each backend now consumes the computed bg/bar_x/code
values with its own API's clear/fill. mock_game_test still decodes every
backend correctly.
2026-07-12 09:35:45 +02:00

3.9 KiB