Colors are now baked into encoded blobs (see prior commit), so
nothing needs to upload or bind a palette buffer. Remove
demo_renderer_t::set_palette from all backends (GL, Metal, D3D11,
WebGPU), the hb_gpu_palette GL uniform plumbing in demo-glstate,
the Metal/D3D11 palette buffers, and the WebGPU storage buffer +
bind-group entry. demo_font_get_palette is also gone.
Replace with new demo_font accessors that forward to the encoder:
demo_font_set_palette
demo_font_set_foreground
demo_font_clear_custom_palette_colors
demo_font_set_custom_palette_color
Each invalidates the glyph cache because colors are baked into
the atlas entries. gpu-output.hh now forwards view-option
--font-palette / --custom-palette through these.
Web demos stop allocating / uploading the palette buffer; the
WGSL fragment shader drops its third bind-group slot.
Assisted-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>