pcbjam/tests/gal-regression/wasm/generated
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Viktor Vaczi d2f1a496f5 feat(webgl): Replace legacy GL with modern OpenGL ES 3.0
Major refactoring to remove ALL legacy OpenGL immediate mode calls from
WEBGL_GAL and replace them with WebGL 2.0/OpenGL ES 3.0 compatible code.

Key changes:
- Add MVP matrix uniform support (replaces glMatrixMode/glOrtho/glLoadMatrix)
- Add matrix math helpers (computeOrthoMatrix, multiplyMatrix4x4, etc.)
- Replace glBegin/glEnd/glVertex with vertex manager pattern
- Rewrite DrawCursor to use vertex manager and DrawLine() calls
- Rewrite DrawBitmap to use vertex manager with SHADER_FONT mode
- Replace glEnableClientState with glVertexAttribPointer
- Replace glDrawBuffer with glDrawBuffers (WebGL 2.0 API)
- Add fullscreen_quad.cpp/h for compositor Present()
- Update SHADER class with mat4 uniform support
- Add MultiplyMatrix() to vertex_manager for Transform()
- Remove all legacy GL stubs from wasm_stubs.cpp

Build now completes with FULL_ES3 mode (no LEGACY_GL_EMULATION).
Remaining issue: wxWidgets GL library calls glColor3f internally.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-07 23:33:49 +01:00
..
glsl_kicad_frag.cpp feat(webgl): Replace legacy GL with modern OpenGL ES 3.0 2026-01-07 23:33:49 +01:00
glsl_kicad_frag.h feat(webgl): Add WEBGL_GAL implementation (compiles, not yet rendering) 2026-01-07 21:04:42 +01:00
glsl_kicad_vert.cpp feat(webgl): Replace legacy GL with modern OpenGL ES 3.0 2026-01-07 23:33:49 +01:00
glsl_kicad_vert.h feat(webgl): Add WEBGL_GAL implementation (compiles, not yet rendering) 2026-01-07 21:04:42 +01:00
glsl_smaa_base.cpp feat(webgl): Replace legacy GL with modern OpenGL ES 3.0 2026-01-07 23:33:49 +01:00
glsl_smaa_base.h feat(webgl): Add WEBGL_GAL implementation (compiles, not yet rendering) 2026-01-07 21:04:42 +01:00
glsl_smaa_pass_1_frag_color.cpp feat(webgl): Replace legacy GL with modern OpenGL ES 3.0 2026-01-07 23:33:49 +01:00
glsl_smaa_pass_1_frag_color.h feat(webgl): Add WEBGL_GAL implementation (compiles, not yet rendering) 2026-01-07 21:04:42 +01:00
glsl_smaa_pass_1_frag_luma.cpp feat(webgl): Replace legacy GL with modern OpenGL ES 3.0 2026-01-07 23:33:49 +01:00
glsl_smaa_pass_1_frag_luma.h feat(webgl): Add WEBGL_GAL implementation (compiles, not yet rendering) 2026-01-07 21:04:42 +01:00
glsl_smaa_pass_1_vert.cpp feat(webgl): Replace legacy GL with modern OpenGL ES 3.0 2026-01-07 23:33:49 +01:00
glsl_smaa_pass_1_vert.h feat(webgl): Add WEBGL_GAL implementation (compiles, not yet rendering) 2026-01-07 21:04:42 +01:00
glsl_smaa_pass_2_frag.cpp feat(webgl): Replace legacy GL with modern OpenGL ES 3.0 2026-01-07 23:33:49 +01:00
glsl_smaa_pass_2_frag.h feat(webgl): Add WEBGL_GAL implementation (compiles, not yet rendering) 2026-01-07 21:04:42 +01:00
glsl_smaa_pass_2_vert.cpp feat(webgl): Replace legacy GL with modern OpenGL ES 3.0 2026-01-07 23:33:49 +01:00
glsl_smaa_pass_2_vert.h feat(webgl): Add WEBGL_GAL implementation (compiles, not yet rendering) 2026-01-07 21:04:42 +01:00
glsl_smaa_pass_3_frag.cpp feat(webgl): Replace legacy GL with modern OpenGL ES 3.0 2026-01-07 23:33:49 +01:00
glsl_smaa_pass_3_frag.h feat(webgl): Add WEBGL_GAL implementation (compiles, not yet rendering) 2026-01-07 21:04:42 +01:00
glsl_smaa_pass_3_vert.cpp feat(webgl): Replace legacy GL with modern OpenGL ES 3.0 2026-01-07 23:33:49 +01:00
glsl_smaa_pass_3_vert.h feat(webgl): Add WEBGL_GAL implementation (compiles, not yet rendering) 2026-01-07 21:04:42 +01:00