mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-01 22:58:38 -04:00
Further improvements to rendering subsystem
This commit is contained in:
parent
83f8864f0a
commit
cd6a40d816
17 changed files with 475 additions and 336 deletions
18
include/render/gles3.h
Normal file
18
include/render/gles3.h
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue