1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-24 22:01:47 +03:00
wezterm/docs
Wez Furlong 4d71a7913a macOS: bundle and use MetalANGLE to enable Metal rendering
This commit adjusts the window layer to have it try to load EGL
implementations on macOS.  This is important as the system
provided OpenGL implementation is deprecated and I wanted to
have a path forward for when it is finally removed.

If EGL fails to initialize, we fall back to the CGL/OpenGL
implementation that we used previously.

I've included binaries built for 64-bit intel from the MetalANGLE
project; here's how I built them:

```
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git --depth 1
git clone https://github.com/kakashidinho/metalangle --depth 1
cd metalangle
PATH=$PWD/../depot_tools:$PATH python scripts/bootstrap.py
PATH=$PWD/../depot_tools:$PATH gclient sync
PATH=$PWD/../depot_tools:$PATH gn --args="is_debug=false angle_enable_metal=true angle_enable_vulkan=false angle_enable_gl=false angle_build_all=false" gen out/Release
PATH=$PWD/../depot_tools:$PATH autoninja -C out/Release
```

Those steps are a little too long to want to put them directly
into the wezterm CI.

It is important for metalangle to be >= 8230df39a5
in order for scaling to be handled correctly when dragging windows
between monitors.

refs: https://github.com/kakashidinho/metalangle/issues/34
2020-10-17 09:34:01 -07:00
..
config docs: changelog and info on dead keys on Windows 2020-10-16 12:13:30 -07:00
install docs: fix typo 2020-07-18 10:16:51 -07:00
screenshots add launch_menu section to the configuration 2020-04-11 17:31:55 -07:00
_config.yml docs: switch to the "Hacker" theme which is darker 2019-12-18 09:25:36 -08:00
book.toml default to darker styling 2019-12-29 22:05:49 -08:00
changelog.markdown macOS: bundle and use MetalANGLE to enable Metal rendering 2020-10-17 09:34:01 -07:00
contributing.markdown docs: link to the contributing file in the repo 2020-06-20 13:09:04 -07:00
copymode.markdown docs: update released version info for some newer features 2020-06-17 00:08:43 -07:00
custom.css style download buttons a bit better 2019-12-29 21:39:23 -08:00
faq.markdown docs: add some input troubleshooting info the FAQ 2020-06-25 07:15:57 -07:00
features.markdown docs: add splits/panes to features list 2020-10-10 10:52:15 -07:00
help.markdown docs: add a bit about contributing 2020-06-16 22:16:56 -07:00
hyperlinks.markdown docs: update for lua configuration syntax 2020-04-06 16:32:16 -07:00
imgcat.markdown add screenshot of imgcat 2019-12-31 18:33:24 -08:00
index.markdown docs: add splits/panes to features list 2020-10-10 10:52:15 -07:00
installation.markdown docs: split install page into pages by platform 2020-05-30 10:30:32 -07:00
lua.js docs: enable syntax highlighting for lua 2020-04-06 17:39:57 -07:00
multiplexing.markdown docs: more changelog updates 2020-10-13 20:26:27 -07:00
scrollback.markdown docs: update released version info for some newer features 2020-06-17 00:08:43 -07:00
serial.markdown docs: update for lua configuration syntax 2020-04-06 16:32:16 -07:00
shell-integration.markdown docs: more tweaks 2020-04-07 08:45:57 -07:00
ssh.markdown docs: update for lua configuration syntax 2020-04-06 16:32:16 -07:00