[client] egl: add ffx_cas post process filter

This commit is contained in:
Geoffrey McRae
2021-08-09 22:42:51 +10:00
parent 9b1d03fcfe
commit 92de467edc
9 changed files with 3499 additions and 12 deletions

View File

@@ -170,7 +170,10 @@ enum EGL_TexStatus egl_textureProcess(EGL_Texture * texture);
enum EGL_TexStatus egl_textureBind(EGL_Texture * texture);
enum EGL_TexStatus egl_textureAddShader(EGL_Texture * texture,
EGL_Shader * shader, float outputScale);
typedef void * PostProcessHandle;
PostProcessHandle egl_textureAddFilter(EGL_Texture * texture,
EGL_Shader * shader, float outputScale, bool enabled);
void egl_textureEnableFilter(PostProcessHandle * handle, bool enable);
float egl_textureGetScale(EGL_Texture * texture);