pcbjam/tests/gal-regression/wasm
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Viktor Vaczi c23bc974be feat(webgl): Wire up WEBGL_GAL test harness with proper canvas setup
- Add wasm_stubs.cpp with WASM-specific stub implementations for
  COLOR4D::BLACK/WHITE, GLU tesselator, PGM_BASE, and other KiCad
  dependencies
- Update Makefile to include KiCad sources (GAL base class, display
  options, HiDPI canvas) and test scenarios
- Fix kiglew.h to define GLEW guard (__glew_h__) preventing conflicts
  with Emscripten's GLEW header
- Update test HTML to create canvas before module load (MODULARIZE
  requires passing canvas in Module config, not preRun)
- Update Playwright tests to find canvas elements correctly
- Add #window-container for wxWidgets GL canvas support

Build produces 8.4MB WASM with full WEBGL_GAL implementation.
Tests pass but rendering still shows dark output (debugging in progress).

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-07 21:32:53 +01:00
..
generated feat(webgl): Add WEBGL_GAL implementation (compiles, not yet rendering) 2026-01-07 21:04:42 +01:00
webgl feat(webgl): Wire up WEBGL_GAL test harness with proper canvas setup 2026-01-07 21:32:53 +01:00
gal_webgl_test.cpp feat(webgl): Wire up WEBGL_GAL test harness with proper canvas setup 2026-01-07 21:32:53 +01:00
gal_webgl_test.html feat(webgl): Wire up WEBGL_GAL test harness with proper canvas setup 2026-01-07 21:32:53 +01:00
generate_shaders.py feat(webgl): Add WEBGL_GAL implementation (compiles, not yet rendering) 2026-01-07 21:04:42 +01:00
Makefile feat(webgl): Wire up WEBGL_GAL test harness with proper canvas setup 2026-01-07 21:32:53 +01:00
wasm_stubs.cpp feat(webgl): Wire up WEBGL_GAL test harness with proper canvas setup 2026-01-07 21:32:53 +01:00