[client] add a MPV glsl style effect loader

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

View File

@@ -96,7 +96,7 @@ typedef struct EGL_TextureOps
EGL_PixelFormat * fmt);
/* bind the texture for use */
enum EGL_TexStatus (*bind)(EGL_Texture * texture);
enum EGL_TexStatus (*bind)(EGL_Texture * texture, GLuint unit);
}
EGL_TextureOps;
@@ -147,6 +147,8 @@ static inline EGL_TexStatus egl_textureGet(EGL_Texture * texture, GLuint * tex,
enum EGL_TexStatus egl_textureBind(EGL_Texture * texture);
enum EGL_TexStatus egl_textureBindWithSampler(EGL_Texture * texture,
GLuint sampler);
enum EGL_TexStatus egl_textureBindUnitWithSampler(EGL_Texture * texture,
GLuint unit, GLuint sampler);
typedef void * PostProcessHandle;
PostProcessHandle egl_textureAddFilter(EGL_Texture * texture,