Files
harfbuzz/util/gpu
Behdad EsfahbodandClaude Opus 4.6 a20f09edea [gpu] Optimize rendering performance
GL renderer:
- Set up VAO once (deferred to first draw after shader ready)
- Cache vertex data; only re-upload when pointer changes
- Query attribute locations once and store in VAO state

Metal renderer:
- Cache vertex buffer across frames
- When vsync off, render to offscreen texture at full GPU speed
  and present to display at ~120Hz to stay responsive
- Fix vsync toggle (CAMetalLayer.displaySyncEnabled)

Also: FPS reporting interval 5s -> 2s.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-29 13:52:31 -06:00
..
2026-03-26 18:30:13 -06:00