Further improvements to rendering subsystem

This commit is contained in:
Drew DeVault 2017-06-08 15:52:42 -04:00
parent 83f8864f0a
commit cd6a40d816
17 changed files with 475 additions and 336 deletions

18
include/render/gles3.h Normal file
View file

@ -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