pcbjam/tests/gal-regression/scenarios
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Viktor Vaczi d0e2500048 feat(webgl): Enable all 28 scenarios for WebGL test harness
- Update wasm/Makefile to compile ALL scenario files using wildcard
- Add conditional compilation to scenario_bitmap.cpp (#ifdef __EMSCRIPTEN__)
  to handle OpenGL-specific shader workaround code for native only
- Change canvas dimensions to 1600x1200 to match native baseline (2x Retina)
- Set white background color to match native screenshots
- Update gal-webgl.spec.ts to hide UI overlay before taking screenshots
- Improve test-gal-regression.sh with better ImageMagick comparison

All 28 scenarios now compile and run on both native and WebGL backends.
Native vs baseline: PASSED (28/28 matching)
WebGL rendering: In progress (primitives not yet visible)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-08 11:11:03 +01:00
..
gal_test_scenarios.cpp feat(gal-test): Add 100% GAL API test coverage (28 scenarios) 2026-01-07 12:27:06 +01:00
gal_test_scenarios.h feat(webgl): Add GAL native test harness for visual regression testing 2026-01-07 09:42:31 +01:00
scenario_arc_segments.cpp feat(webgl): Add 4 new GAL test scenarios for expanded coverage 2026-01-07 09:58:52 +01:00
scenario_bezier_curves.cpp feat(webgl): Add 4 new GAL test scenarios for expanded coverage 2026-01-07 09:58:52 +01:00
scenario_bitmap.cpp feat(webgl): Enable all 28 scenarios for WebGL test harness 2026-01-08 11:11:03 +01:00
scenario_clear_colors.cpp feat(gal-test): Add 100% GAL API test coverage (28 scenarios) 2026-01-07 12:27:06 +01:00
scenario_cursor_native.cpp feat(gal-test): Add 100% GAL API test coverage (28 scenarios) 2026-01-07 12:27:06 +01:00
scenario_depth_testing.cpp feat(gal-test): Add 100% GAL API test coverage (28 scenarios) 2026-01-07 12:27:06 +01:00
scenario_glyphs.cpp feat(gal-test): Add 100% GAL API test coverage (28 scenarios) 2026-01-07 12:27:06 +01:00
scenario_grid_native.cpp feat(gal-test): Add 100% GAL API test coverage (28 scenarios) 2026-01-07 12:27:06 +01:00
scenario_group_caching.cpp feat(gal-test): Add 100% GAL API test coverage (28 scenarios) 2026-01-07 12:27:06 +01:00
scenario_hole_walls.cpp feat(gal-test): Add 100% GAL API test coverage (28 scenarios) 2026-01-07 12:27:06 +01:00
scenario_negative_mode.cpp feat(gal-test): Add 100% GAL API test coverage (28 scenarios) 2026-01-07 12:27:06 +01:00
scenario_polylines_multi.cpp feat(gal-test): Add 100% GAL API test coverage (28 scenarios) 2026-01-07 12:27:06 +01:00
scenario_render_targets.cpp feat(gal-test): Add 100% GAL API test coverage (28 scenarios) 2026-01-07 12:27:06 +01:00
scenario_screen_transform.cpp feat(gal-test): Add 100% GAL API test coverage (28 scenarios) 2026-01-07 12:27:06 +01:00
scenario_segment_chain.cpp feat(webgl): Add 4 new GAL test scenarios for expanded coverage 2026-01-07 09:58:52 +01:00
scenario_text_attrs.cpp feat(gal-test): Add 100% GAL API test coverage (28 scenarios) 2026-01-07 12:27:06 +01:00
scenario_transform.cpp feat(gal-test): Add 100% GAL API test coverage (28 scenarios) 2026-01-07 12:27:06 +01:00