tests: add CoinVisualTests visual regression infrastructure - #59
Open
tritao wants to merge 1 commit into
Open
Conversation
tritao
force-pushed
the
stack/render-tests-infrastructure
branch
6 times, most recently
from
August 16, 2026 20:52
dbf585a to
fe82564
Compare
tritao
marked this pull request as ready for review
August 16, 2026 22:20
tritao
force-pushed
the
stack/render-tests-infrastructure
branch
2 times, most recently
from
August 16, 2026 23:23
42957f6 to
3836315
Compare
tritao
force-pushed
the
stack/render-tests-infrastructure
branch
from
August 16, 2026 23:35
3836315 to
585d281
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a deliberately small
CoinVisualTestsvisual-regression foundation forCoin's LegacyGL renderer.
The runner creates a hidden desktop OpenGL compatibility context, renders
.ivscenes throughSoGLRenderAction, captures PNG output, and compares itwith checked-in baselines.
Scope
SoGLRenderActionreference rendering only.RenderDriverseam with aLegacyGLDriverimplementation.camera override, baseline, and comparison policy.
render_artifacts/gl.camera, and viewport/background handling.
Additional renderer integrations and native backend contracts remain owned by
their subsequent stack layers.
Validation contract
Baseline updates succeed only when both rendering and baseline copying
succeed. Image comparison uses centralized
default,strict,exact, andrelaxedpolicies; masks and renderer-state toggles are intentionally notpart of this foundation.
CI runs the suite in the Ubuntu LegacyGL-enabled job and uploads actual
images, diffs, metrics, and CTest results.
Stack position
Layer 10/18, based on PR #43. The
retained IR and renderer layers build on this infrastructure in the subsequent
stack layers.