diff options
| author | skal <pascal.massimino@gmail.com> | 2026-01-28 01:10:05 +0100 |
|---|---|---|
| committer | skal <pascal.massimino@gmail.com> | 2026-01-28 01:10:05 +0100 |
| commit | 6cd6fb41ed44bd37bd05e5a4abf23661605c00df (patch) | |
| tree | f3c5fb237b71bc6ad2d67dea62324b2edede51c3 /src/util | |
| parent | a7bcf5e9cd6884d010b5cec0146293a0515242fc (diff) | |
refactor(gpu): Integrate WebGPU via system wgpu-native and glfw3webgpu
Replaces the complex wgpu-native submodule and manual platform-specific surface creation with a system-wide wgpu-native install (via Homebrew) and the glfw3webgpu helper library.
- Updates scripts/project_init.sh to fetch glfw3webgpu and ensure wgpu-native is installed.
- Refactors CMakeLists.txt to link against the system wgpu-native library.
- Simplifies src/platform.cc to use glfwCreateWindowWGPUSurface.
- Simplifies src/gpu/gpu.cc to use standard WebGPU headers.
- Updates FETCH_DEPS.md with new installation instructions.
- Updates PROJECT_CONTEXT.md with the new integration strategy.
Diffstat (limited to 'src/util')
0 files changed, 0 insertions, 0 deletions
