aboutsummaryrefslogtreecommitdiff
path: root/include/render/gles3.h
blob: 91b738a63e095453b1ca6ff818dbfc9cfcfac945 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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