diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-06-08 15:52:42 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2017-06-08 15:52:42 -0400 |
commit | cd6a40d81679c37795e9d24354a8bbbf84cd53a6 (patch) | |
tree | 82186fb0985a16ed76928b0226ff2eed9bb2c261 /include/render/gles3.h | |
parent | 83f8864f0ab1722aae12cc744094a7424c41f2d8 (diff) |
Further improvements to rendering subsystem
Diffstat (limited to 'include/render/gles3.h')
-rw-r--r-- | include/render/gles3.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/include/render/gles3.h b/include/render/gles3.h new file mode 100644 index 00000000..91b738a6 --- /dev/null +++ b/include/render/gles3.h @@ -0,0 +1,18 @@ +#ifndef _WLR_RENDER_GLES2_INTERNAL_H +#define _WLR_RENDER_GLES2_INTERNAL_H +#include <stdint.h> +#include <GLES3/gl3.h> +#include <wlr/render.h> + +struct wlr_surface_state { + struct wlr_surface *wlr_surface; + GLuint tex_id; +}; + +struct wlr_surface *gles3_surface_init(); + +extern const GLchar vertex_src[]; +extern const GLchar fragment_src_RGB[]; +extern const GLchar fragment_src_RGBA[]; + +#endif |