[vim/vim] GTK4: Use hardware accelerated rendering by default (PR #20844)

5 views
Skip to first unread message

Foxe Chen

unread,
Jul 26, 2026, 2:22:46 AM (yesterday) Jul 26
to vim/vim, Subscribed

Remove all the old cairo rendering code.


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

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

Commit Summary

  • dea1137 use hardware accelerated rendering for GTk4 GUI

File Changes

(14 files)

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/20844@github.com>

Christian Brabandt

unread,
Jul 26, 2026, 10:54:31 AM (yesterday) Jul 26
to vim/vim, Subscribed
chrisbra left a comment (vim/vim#20844)

Thanks. Would there be systems, that cannot use hardware accelerated GTK4? I am thinking of exotic architectures, emulator and virtualization? What would happen for those? They cannot use the GTK4 UI then?


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/20844/c5084007031@github.com>

Foxe Chen

unread,
Jul 26, 2026, 11:42:43 AM (yesterday) Jul 26
to vim/vim, Subscribed
64-bitman left a comment (vim/vim#20844)

Thanks. Would there be systems, that cannot use hardware accelerated GTK4? I am thinking of exotic architectures, emulator and virtualization? What would happen for those? They cannot use the GTK4 UI then?

Well the hardware accelerated backend uses GtkSnapshot, which is used by the GTK4 UI, so it should always be supported. If it cannot find a suitable GPU, then it should fallback to cairo (like the existing code)


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/20844/c5084181906@github.com>

Christian Brabandt

unread,
4:37 PM (5 hours ago) 4:37 PM
to vim/vim, Subscribed
chrisbra left a comment (vim/vim#20844)

okay, thanks for clarification


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/20844/c5096538260@github.com>

Reply all
Reply to author
Forward
0 new messages