Copy and adapt OpenGL GAL to WebGL: - Copy all OpenGL GAL source files to tests/gal-regression/wasm/webgl/ - Rename classes from OPENGL_* to WEBGL_* - Add kiglew.h with WebGL2/GLES3 headers and GLEW stubs - Add webgl_antialiasing.h/cpp adapted for WEBGL_COMPOSITOR - Add shader generator (generate_shaders.py) for WASM build - Update Makefile with all KiCad dependencies (C++20, GLM, clipper2, etc.) Build produces 544KB JS + 4.9MB WASM. Tests run but render blank (expected - GL context initialization needs WebGL adaptation). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
13 lines
239 B
C++
13 lines
239 B
C++
// Auto-generated shader header from smaa_base.glsl
|
|
#ifndef GLSL_SMAA_BASE_H
|
|
#define GLSL_SMAA_BASE_H
|
|
|
|
#include <string>
|
|
|
|
namespace KIGFX {
|
|
namespace BUILTIN_SHADERS {
|
|
extern std::string glsl_smaa_base;
|
|
}
|
|
}
|
|
|
|
#endif // GLSL_SMAA_BASE_H
|