mirror of
https://github.com/wez/wezterm.git
synced 2024-12-23 13:21:38 +03:00
make the default front_end=WebGpu
This commit is contained in:
parent
95a55959bc
commit
b9f6bbd495
@ -3,8 +3,8 @@ use wezterm_dynamic::{FromDynamic, ToDynamic};
|
|||||||
|
|
||||||
#[derive(Debug, Clone, Copy, PartialEq, Eq, FromDynamic, ToDynamic, Default)]
|
#[derive(Debug, Clone, Copy, PartialEq, Eq, FromDynamic, ToDynamic, Default)]
|
||||||
pub enum FrontEndSelection {
|
pub enum FrontEndSelection {
|
||||||
#[default]
|
|
||||||
OpenGL,
|
OpenGL,
|
||||||
|
#[default]
|
||||||
WebGpu,
|
WebGpu,
|
||||||
Software,
|
Software,
|
||||||
}
|
}
|
||||||
|
@ -21,6 +21,10 @@ usually the best available version.
|
|||||||
|
|
||||||
As features stabilize some brief notes about them will accumulate here.
|
As features stabilize some brief notes about them will accumulate here.
|
||||||
|
|
||||||
|
#### Changed
|
||||||
|
|
||||||
|
* The default for [front_end](config/lua/config/front_end.md) is now `WebGpu`.
|
||||||
|
|
||||||
#### New
|
#### New
|
||||||
|
|
||||||
* [window:keyboard_modifiers](config/lua/window/keyboard_modifiers.md) #3444
|
* [window:keyboard_modifiers](config/lua/window/keyboard_modifiers.md) #3444
|
||||||
|
@ -8,10 +8,13 @@ Specifies which render front-end to use. This option used to have
|
|||||||
more scope in earlier versions of wezterm, but today it allows two
|
more scope in earlier versions of wezterm, but today it allows two
|
||||||
possible values:
|
possible values:
|
||||||
|
|
||||||
* `OpenGL` - use GPU accelerated rasterization (this is the default)
|
* `OpenGL` - use GPU accelerated rasterization
|
||||||
* `Software` - use CPU-based rasterization.
|
* `Software` - use CPU-based rasterization.
|
||||||
* `WebGpu` - use GPU accelerated rasterization {{since('20221119-145034-49b9839f', inline=True)}}
|
* `WebGpu` - use GPU accelerated rasterization {{since('20221119-145034-49b9839f', inline=True)}}
|
||||||
|
|
||||||
|
{{since('nightly', outline=true)}}
|
||||||
|
The default is `"WebGpu"`. In earlier versions it was `"OpenGL"`
|
||||||
|
|
||||||
You may wish (or need!) to select `Software` if there are issues with your
|
You may wish (or need!) to select `Software` if there are issues with your
|
||||||
GPU/OpenGL drivers.
|
GPU/OpenGL drivers.
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@ def define_env(env):
|
|||||||
first_line = "*Since: Nightly Builds Only*"
|
first_line = "*Since: Nightly Builds Only*"
|
||||||
expanded = "+"
|
expanded = "+"
|
||||||
blurb = """
|
blurb = """
|
||||||
The feature described in this section requires a nightly build of wezterm.
|
The functionality described in this section requires a nightly build of wezterm.
|
||||||
You can obtain a nightly build by following the instructions from the
|
You can obtain a nightly build by following the instructions from the
|
||||||
[Download](/wezterm/installation.html) section.
|
[Download](/wezterm/installation.html) section.
|
||||||
"""
|
"""
|
||||||
@ -21,7 +21,7 @@ def define_env(env):
|
|||||||
first_line = f"*Since: Version {vers}*"
|
first_line = f"*Since: Version {vers}*"
|
||||||
expanded = ""
|
expanded = ""
|
||||||
blurb = f"""
|
blurb = f"""
|
||||||
*The feature described in this section requires version {vers} of wezterm,
|
*The functionality described in this section requires version {vers} of wezterm,
|
||||||
or a more recent version.*
|
or a more recent version.*
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user