mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-14 08:22:25 -04:00
added gles3 impl
This commit is contained in:
parent
00c96e3ac0
commit
78bffc2df5
21 changed files with 190 additions and 25 deletions
|
|
@ -28,6 +28,8 @@
|
|||
|
||||
struct wlr_egl;
|
||||
|
||||
enum egl_version { GLES2 = 2, GLES3 = 3 };
|
||||
|
||||
/**
|
||||
* Create a struct wlr_egl with an existing EGL display and context.
|
||||
*
|
||||
|
|
@ -35,7 +37,7 @@ struct wlr_egl;
|
|||
* initialization.
|
||||
*/
|
||||
struct wlr_egl *wlr_egl_create_with_context(EGLDisplay display,
|
||||
EGLContext context);
|
||||
EGLContext context, enum egl_version version);
|
||||
|
||||
/**
|
||||
* Get the EGL display used by the struct wlr_egl.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue