mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-19 22:11:04 +01:00
Reserve the API shape for the upcoming GPU color-glyph paint encoder. The skeleton adds: hb_gpu_paint_t opaque type hb_gpu_paint_create_or_fail () hb_gpu_paint_reference () hb_gpu_paint_destroy () hb_gpu_paint_set_user_data () / _get_user_data () hb_gpu_paint_shader_source (stage, lang) Only the lifecycle is functional. hb_gpu_paint_shader_source() returns an empty string for all supported (stage, lang) pairs until the paint-renderer shaders land. This commit wires up the files, public declarations, section index, and build system (meson, CMake, harfbuzz-world.cc, vtable). Callers can now hold, reference, destroy, and attach user data to a paint context. Assisted-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>