]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.2.0733: GTK3: GUI slow on X11 since dropping the alpha channel v9.2.0733
authorHirohito Higashi <h.east.727@gmail.com>
Fri, 26 Jun 2026 20:19:50 +0000 (20:19 +0000)
committerChristian Brabandt <cb@256bit.org>
Fri, 26 Jun 2026 20:19:50 +0000 (20:19 +0000)
commitb57390fee781a4872e70f2441709de80fb7ba8fd
tree8b4497c0eb2f391154d1fadc12c9e08e1177dddb
parent2913a6900242141446b6f539abfd39f6ea92ee2b
patch 9.2.0733: GTK3: GUI slow on X11 since dropping the alpha channel

Problem:  With the GTK3 GUI, scrolling and moving the window are slow on
          X11 on setups where the accelerated drawing path expects an
          ARGB surface (after v9.2.0646)
Solution: Choose the offscreen surface content per display backend: keep the
          alpha-less surface on Wayland, where it avoids needless alpha
          compositing, and use an ARGB surface on X11 again, which is the
          accelerated path there, restoring the speed (Hirohito Higashi).

fixes:  #20603
closes: #20634

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed-off-by: Hirohito Higashi <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/gui_gtk_x11.c
src/version.c