pcbjam/wasm/stubs
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Viktor Vaczi cb58b43bd1 Enable OpenGL GAL and 3D viewer stubs for WASM
Changes:
- Add glu_wasm_impl.cpp: GLU tesselator using KiCad's earcut triangulation
- Add GL/glu.h: GLU header for WASM builds
- Add 3D viewer stubs for KICAD_BUILD_3D_VIEWER_WASM=ON
- Remove obsolete gl_canvas_stub.cpp (OpenGL now uses real impl)
- Remove obsolete glu_stub.c (replaced by glu_wasm_impl.cpp)
- Update build-pcbnew.sh comment about GLU implementation

The OpenGL GAL now works in WASM using WebGL with LEGACY_GL_EMULATION.
3D viewer is stubbed out but builds successfully.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-03 08:19:40 +01:00
..
GL Enable OpenGL GAL and 3D viewer stubs for WASM 2026-01-03 08:19:40 +01:00
nng Enable 3D viewer in KiCad WASM build 2025-12-21 14:21:29 +01:00
3d_canvas_stub.cpp Enable OpenGL GAL and 3D viewer stubs for WASM 2026-01-03 08:19:40 +01:00
3d_scenegraph_stub.cpp Enable OpenGL GAL and 3D viewer stubs for WASM 2026-01-03 08:19:40 +01:00
3d_viewer_stub.cpp Enable OpenGL GAL and 3D viewer stubs for WASM 2026-01-03 08:19:40 +01:00
api_plugin_stub.cpp Fix KiCad WASM build and runtime errors 2025-12-22 16:30:53 +01:00
curl_stub.c Enable 3D viewer in KiCad WASM build 2025-12-21 14:21:29 +01:00
glu_wasm_impl.cpp Enable OpenGL GAL and 3D viewer stubs for WASM 2026-01-03 08:19:40 +01:00
libgit2_stub.c Enable 3D viewer in KiCad WASM build 2025-12-21 14:21:29 +01:00
nl_pcbnew_plugin_stub.cpp Fix KiCad WASM build and runtime errors 2025-12-22 16:30:53 +01:00
nng_stub.c Enable 3D viewer in KiCad WASM build 2025-12-21 14:21:29 +01:00
pcb_frame_stub.cpp Fix KiCad WASM build and runtime errors 2025-12-22 16:30:53 +01:00
pcbnew_scripting_stub.cpp Enable 3D viewer in KiCad WASM build 2025-12-21 14:21:29 +01:00
python_manager_stub.cpp Fix KiCad WASM build and runtime errors 2025-12-22 16:30:53 +01:00
scripting_stub.cpp Fix KiCad WASM build and runtime errors 2025-12-22 16:30:53 +01:00
wasm-emscripten-finalize-stub.sh Fix KiCad WASM build and runtime errors 2025-12-22 16:30:53 +01:00
wasm-opt-stub.sh Fix Asyncify and improve build process 2025-12-14 11:59:50 +01:00