diff options
| author | user <user@clank> | 2026-09-02 14:43:09 +0200 |
|---|---|---|
| committer | user <user@clank> | 2026-09-02 14:43:09 +0200 |
| commit | 18d1aef0f9bf4620135fd9f77f26683e6f2f8c00 (patch) | |
| tree | bf3ea334988ce03f61705ba9628941c175c1ee38 /docs | |
| parent | web: the real site is the only site, and web/publish ships it (diff) | |
| download | slosh-18d1aef0f9bf4620135fd9f77f26683e6f2f8c00.tar.gz slosh-18d1aef0f9bf4620135fd9f77f26683e6f2f8c00.tar.xz slosh-18d1aef0f9bf4620135fd9f77f26683e6f2f8c00.zip | |
shaders: remove the .so plugin loader
The static musl release builds cannot dlopen -- musl compiles it out
-- so loadable shader plugins were a feature most shipped binaries
could not use. Nothing we ship used it either: every shader in
contrib/shaders is an expression. Gone: the dlopen/glob loader in
shader.c, shader_dir in the config, the plugin ABI table and entry
macro, the Windows dl*/glob shims that existed only for it, the
contrib/shader-plugin skeleton, its tests, and every doc mention.
shader_abi.h stays as the shader model (cell_t, shade_ctx_t,
shader_t) with a note about what it used to be.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/config.md | 2 | ||||
| -rw-r--r-- | docs/shaders.md | 12 | ||||
| -rw-r--r-- | docs/slosh.5 | 3 |
3 files changed, 1 insertions, 16 deletions
diff --git a/docs/config.md b/docs/config.md index 4e5b1cc..72668f0 100644 --- a/docs/config.md +++ b/docs/config.md @@ -84,7 +84,7 @@ theme { frame_focus "#00ff88" } // ...but that one colour is mine | --------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | geometry | `gap` `gap_aspect` `padding` `compact` `rounded` `title_align` `title_inset` `min_pane` `min_split` | | chrome | `status_bar` `status_line` `status_pad` `hints` `version_banner` `pane_buttons` `bell_indicator` and the marks (`zoom_mark` `zoom_on_mark` `close_mark` `min_mark` `newtab_mark` `bell_mark`) | -| behaviour | `focus_follows_mouse` `ctrl_d_exits` `scroll_lines` `scrollback` `scrollback_bytes` `toast_ms` `splash_ms` `hover_delay_ms` `double_click_ms` `word_separators` `anim_ms` `modal_scrim` `dim_unfocused` `float_shadow` `keep_dead` `in_band_shaders` `shell` `editor` `shader_dir` | +| behaviour | `focus_follows_mouse` `ctrl_d_exits` `scroll_lines` `scrollback` `scrollback_bytes` `toast_ms` `splash_ms` `hover_delay_ms` `double_click_ms` `word_separators` `anim_ms` `modal_scrim` `dim_unfocused` `float_shadow` `keep_dead` `in_band_shaders` `shell` `editor` | | projects | `project_roots` `project_layout` (see [workspaces](workspaces.md)) | | colour | `theme { }` | | effects | `shaders { }`, `states { }` (see [shaders](shaders.md) and [chrome](chrome.md)) | diff --git a/docs/shaders.md b/docs/shaders.md index c435321..851e7af 100644 --- a/docs/shaders.md +++ b/docs/shaders.md @@ -136,15 +136,3 @@ of borrowing the syntax rather than inventing one. The reply counts that an entry's `where=` did what you meant. **Off by default.** It needs `in_band_shaders true`. - -## Your own, compiled - -A shader is a C function from one cell to that cell's colours. Any `*.so` in -`~/.config/slosh/shaders/` that exports one is loaded at startup and named in -the config exactly like a built-in. Skeleton, Makefile and the rules a shader -has to keep: -`contrib/shader-plugin`. - -It is native code in the session's process, so install ones you trust. It has -the same standing as `shell` and a layout's `command=`, which can already run -anything as you. diff --git a/docs/slosh.5 b/docs/slosh.5 index 59465b2..f523da0 100644 --- a/docs/slosh.5 +++ b/docs/slosh.5 @@ -208,9 +208,6 @@ and what edits the configuration (unset: .BR $EDITOR , then vi). .TP -.BI shader_dir\ path -Where shader plugins (compiled .so passes) are loaded from. -.TP .BI in_band_shaders\ bool Whether a program may set shader chains on its own pane over OSC 5577. Off by default; clearing a chain is always allowed, because the way out |
