mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-07-24 00:02:03 +00:00
[client] add a MPV glsl style effect loader
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user