diff --git a/doc/gui_x11.jax b/doc/gui_x11.jax index 092ac8b5a..a4e71c17f 100644 --- a/doc/gui_x11.jax +++ b/doc/gui_x11.jax @@ -1,4 +1,4 @@ -*gui_x11.txt* For Vim バージョン 9.2. Last change: 2026 Jun 07 +*gui_x11.txt* For Vim バージョン 9.2. Last change: 2026 Jun 13 VIM リファレンスマニュアル by Bram Moolenaar @@ -370,7 +370,14 @@ $LIBGL_ALWAYS_SOFTWARE を "true" に設定すると、OpenGL レンダラーは $ GSK_RENDERER=cairo gvim $ LIBGL_ALWAYS_SOFTWARE=true gvim - +< + *gtk4-hwaccel* +Vim を "--enable-gtk4-hwaccel" オプションを設定してコンパイルすると、GTK4 GUI +は Cairo の代わりに GtkSnapshot を使用するようになり、ハードウェアアクセラレー +ションによるレンダリングが可能になるため、はるかに高速になる。この設定オプショ +ンを有効にすると、GTK4 GUI はポップアップウィンドウ画像のレンダリングに +|+image_cairo| の代わりに |+image_gdk| を使用するようになる。Note この機能は現 +在実験段階であることに注意。 ツールチップの色 ~ *gtk-tooltip-colors* diff --git a/en/gui_x11.txt b/en/gui_x11.txt index 5f8056beb..2e558d8a0 100644 --- a/en/gui_x11.txt +++ b/en/gui_x11.txt @@ -1,4 +1,4 @@ -*gui_x11.txt* For Vim version 9.2. Last change: 2026 Jun 07 +*gui_x11.txt* For Vim version 9.2. Last change: 2026 Jun 13 VIM REFERENCE MANUAL by Bram Moolenaar @@ -366,7 +366,14 @@ to use software rendering: > $ GSK_RENDERER=cairo gvim $ LIBGL_ALWAYS_SOFTWARE=true gvim - +< + *gtk4-hwaccel* +If Vim is compiled with the configure option "--enable-gtk4-hwaccel" set, then +the GTK4 GUI will use GtkSnapshot instead of Cairo, allowing for hardware +accelerated rendering, which is much faster. Enabling this configure option +also makes the GTK4 GUI use |+image_gdk| instead of |+image_cairo| for +rendering popup window images. Note that this feature is currently +experimental. Tooltip Colors ~ *gtk-tooltip-colors*