[client] add a MPV glsl style effect loader
Some checks failed
build / client (Debug, map[cc:clang cxx:clang++], libdecor) (push) Has been cancelled
build / client (Debug, map[cc:clang cxx:clang++], xdg-shell) (push) Has been cancelled
build / client (Debug, map[cc:gcc cxx:g++], libdecor) (push) Has been cancelled
build / client (Debug, map[cc:gcc cxx:g++], xdg-shell) (push) Has been cancelled
build / client (Release, map[cc:clang cxx:clang++], libdecor) (push) Has been cancelled
build / client (Release, map[cc:clang cxx:clang++], xdg-shell) (push) Has been cancelled
build / client (Release, map[cc:gcc cxx:g++], libdecor) (push) Has been cancelled
build / client (Release, map[cc:gcc cxx:g++], xdg-shell) (push) Has been cancelled
build / module (push) Has been cancelled
build / host-linux (push) Has been cancelled
build / host-windows-cross (push) Has been cancelled
build / host-windows-native (push) Has been cancelled
build / idd (push) Has been cancelled
build / obs (clang) (push) Has been cancelled
build / obs (gcc) (push) Has been cancelled
build / docs (push) Has been cancelled

This commit is contained in:
Geoffrey McRae
2026-07-18 08:41:38 +10:00
parent d206e788af
commit 6a9957650c
22 changed files with 1494 additions and 45 deletions

View File

@@ -215,6 +215,12 @@ enum EGL_TexStatus egl_textureBind(EGL_Texture * this)
enum EGL_TexStatus egl_textureBindWithSampler(EGL_Texture * this,
GLuint sampler)
{
egl_stateBindSampler(0, sampler);
return this->ops.bind(this);
return egl_textureBindUnitWithSampler(this, 0, sampler);
}
enum EGL_TexStatus egl_textureBindUnitWithSampler(EGL_Texture * this,
GLuint unit, GLuint sampler)
{
egl_stateBindSampler(unit, sampler);
return this->ops.bind(this, unit);
}