mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-20 22:41:10 +01:00
Fix WebGPU rendering: remove wgpuSurfacePresent (browser auto-presents), query preferred surface format, set depthSlice undefined for 2D targets. Match GL demo behavior: light mode default, proper trackball rotation, CSS-pixel coordinate mapping, perspective frustum projection. Add backend dropdown (WebGL/WebGPU) to shell.html that navigates between index.html and webgpu.html. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>