[client] egl: rework egl to accomodate post-processing filtering

This commit is contained in:
Geoffrey McRae
2021-08-09 14:08:10 +10:00
parent 30ad28ffd1
commit 86d6b67337
21 changed files with 793 additions and 183 deletions

View File

@@ -27,11 +27,12 @@
#include <GLES3/gl3.h>
typedef struct EGL_Model EGL_Model;
typedef struct EGL_Texture EGL_Texture;
bool egl_modelInit(EGL_Model ** model);
void egl_modelFree(EGL_Model ** model);
void egl_modelSetDefault (EGL_Model * model);
void egl_modelSetDefault (EGL_Model * model, bool flipped);
void egl_modelAddVerts(EGL_Model * model, const GLfloat * verticies, const GLfloat * uvs, const size_t count);
void egl_modelSetShader (EGL_Model * model, EGL_Shader * shader);
void egl_modelSetTexture (EGL_Model * model, EGL_Texture * texture);