pcbjam/tests/gal-regression/wasm/webgl
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
..
antialiasing.h feat(webgl): Add WEBGL_GAL implementation (compiles, not yet rendering) 2026-01-07 21:04:42 +01:00
bitmap_font_desc.c feat(webgl): Add WEBGL_GAL implementation (compiles, not yet rendering) 2026-01-07 21:04:42 +01:00
bitmap_font_img.c feat(webgl): Add WEBGL_GAL implementation (compiles, not yet rendering) 2026-01-07 21:04:42 +01:00
cached_container.cpp feat(webgl): Add WEBGL_GAL implementation (compiles, not yet rendering) 2026-01-07 21:04:42 +01:00
cached_container.h feat(webgl): Add WEBGL_GAL implementation (compiles, not yet rendering) 2026-01-07 21:04:42 +01:00
cached_container_gpu.cpp feat(webgl): Add WEBGL_GAL implementation (compiles, not yet rendering) 2026-01-07 21:04:42 +01:00
cached_container_gpu.h feat(webgl): Add WEBGL_GAL implementation (compiles, not yet rendering) 2026-01-07 21:04:42 +01:00
cached_container_ram.cpp feat(webgl): Add WEBGL_GAL implementation (compiles, not yet rendering) 2026-01-07 21:04:42 +01:00
cached_container_ram.h feat(webgl): Add WEBGL_GAL implementation (compiles, not yet rendering) 2026-01-07 21:04:42 +01:00
gl_context_mgr.cpp feat(webgl): Add WEBGL_GAL implementation (compiles, not yet rendering) 2026-01-07 21:04:42 +01:00
gl_context_mgr.h feat(webgl): Add WEBGL_GAL implementation (compiles, not yet rendering) 2026-01-07 21:04:42 +01:00
gl_resources.cpp feat(webgl): Add WEBGL_GAL implementation (compiles, not yet rendering) 2026-01-07 21:04:42 +01:00
gl_resources.h feat(webgl): Add WEBGL_GAL implementation (compiles, not yet rendering) 2026-01-07 21:04:42 +01:00
gl_utils.h feat(webgl): Add WEBGL_GAL implementation (compiles, not yet rendering) 2026-01-07 21:04:42 +01:00
gpu_manager.cpp feat(webgl): Add WEBGL_GAL implementation (compiles, not yet rendering) 2026-01-07 21:04:42 +01:00
gpu_manager.h feat(webgl): Add WEBGL_GAL implementation (compiles, not yet rendering) 2026-01-07 21:04:42 +01:00
kiglew.h feat(webgl): Wire up WEBGL_GAL test harness with proper canvas setup 2026-01-07 21:32:53 +01:00
noncached_container.cpp feat(webgl): Add WEBGL_GAL implementation (compiles, not yet rendering) 2026-01-07 21:04:42 +01:00
noncached_container.h feat(webgl): Add WEBGL_GAL implementation (compiles, not yet rendering) 2026-01-07 21:04:42 +01:00
shader.cpp feat(webgl): Add WEBGL_GAL implementation (compiles, not yet rendering) 2026-01-07 21:04:42 +01:00
shader.h feat(webgl): Add WEBGL_GAL implementation (compiles, not yet rendering) 2026-01-07 21:04:42 +01:00
SmaaAreaTex.h feat(webgl): Add WEBGL_GAL implementation (compiles, not yet rendering) 2026-01-07 21:04:42 +01:00
SmaaSearchTex.h feat(webgl): Add WEBGL_GAL implementation (compiles, not yet rendering) 2026-01-07 21:04:42 +01:00
utils.cpp feat(webgl): Add WEBGL_GAL implementation (compiles, not yet rendering) 2026-01-07 21:04:42 +01:00
utils.h feat(webgl): Add WEBGL_GAL implementation (compiles, not yet rendering) 2026-01-07 21:04:42 +01:00
vertex_common.h feat(webgl): Add WEBGL_GAL implementation (compiles, not yet rendering) 2026-01-07 21:04:42 +01:00
vertex_container.cpp feat(webgl): Add WEBGL_GAL implementation (compiles, not yet rendering) 2026-01-07 21:04:42 +01:00
vertex_container.h feat(webgl): Add WEBGL_GAL implementation (compiles, not yet rendering) 2026-01-07 21:04:42 +01:00
vertex_item.cpp feat(webgl): Add WEBGL_GAL implementation (compiles, not yet rendering) 2026-01-07 21:04:42 +01:00
vertex_item.h feat(webgl): Add WEBGL_GAL implementation (compiles, not yet rendering) 2026-01-07 21:04:42 +01:00
vertex_manager.cpp feat(webgl): Add WEBGL_GAL implementation (compiles, not yet rendering) 2026-01-07 21:04:42 +01:00
vertex_manager.h feat(webgl): Add WEBGL_GAL implementation (compiles, not yet rendering) 2026-01-07 21:04:42 +01:00
webgl_antialiasing.cpp feat(webgl): Add WEBGL_GAL implementation (compiles, not yet rendering) 2026-01-07 21:04:42 +01:00
webgl_antialiasing.h feat(webgl): Add WEBGL_GAL implementation (compiles, not yet rendering) 2026-01-07 21:04:42 +01:00
webgl_compositor.cpp feat(webgl): Add WEBGL_GAL implementation (compiles, not yet rendering) 2026-01-07 21:04:42 +01:00
webgl_compositor.h feat(webgl): Add WEBGL_GAL implementation (compiles, not yet rendering) 2026-01-07 21:04:42 +01:00
webgl_gal.cpp feat(webgl): Add WEBGL_GAL implementation (compiles, not yet rendering) 2026-01-07 21:04:42 +01:00
webgl_gal.h feat(webgl): Add WEBGL_GAL implementation (compiles, not yet rendering) 2026-01-07 21:04:42 +01:00