[vim/vim] GTK4: Use repeating node to render undercurls for hwaccel (PR #20829)

1 view
Skip to first unread message

Foxe Chen

unread,
Jul 23, 2026, 10:12:19 AM (yesterday) Jul 23
to vim/vim, Subscribed

The current code renders the undercurl pattern for the entire span of the row. This causes frame drops when there is a lot of undercurls on the screen (e.g. highlight Test gui=undercurl | syntax match Test /.*/). Use a repeating node instead to repeat a single cycle of the undercurl through the entire row span. This fix is only relevant when using Vulkan or OpenGL renderer, because they can natively repeat the texture directly on hardware.


You can view, comment on, or merge this pull request online at:

  https://github.com/vim/vim/pull/20829

Commit Summary

  • bcc5603 Use repeating node to render undercurls

File Changes

(1 file)

Patch Links:


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/20829@github.com>

Reply all
Reply to author
Forward
0 new messages