[vim/vim] perf(gtk3-wayland): CAIRO_CONTENT_COLOR over ALPHA (PR #20513)

1 view
Skip to first unread message

dezza

unread,
Jun 13, 2026, 8:34:30 PM (6 hours ago) Jun 13
to vim/vim, Subscribed

Partially addresses: #18002

Reduces the processing load significantly, since it contains no alpha channel.

https://www.cairographics.org/manual/cairo-cairo-surface-t.html#CAIRO-CONTENT-COLOR-ALPHA:CAPS

Tested on aarch64 with a rpi5 and 4k/hidpi integer scaling.

Slowest gvim I have encountered yet.

Slow symptoms;

  • Startup
  • Scrolling
  • Drawing text
  • Loading new buffers

Note: Aware we are moving gtk3 into maintenance phase, however I think this will make it usable for longer. The alpha channel is not for truecolor text, its for gtk widgets - we don't support opacity in gtk3 and don't intend to - so it remains unused.


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

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

Commit Summary

  • 4dc0fd0 perf(gtk3-wayland): CAIRO_CONTENT_COLOR over ALPHA

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

Reply all
Reply to author
Forward
0 new messages