diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-08-10 22:20:21 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-10 22:20:21 -0400 |
commit | 6569c2b62614384b268eb20feb7818f3c0cf606c (patch) | |
tree | 4be63a8f4e2edfcecd228f23e9846403ddf39281 /include/backend/egl.h | |
parent | fe2fbd0fad96624ab64a86b0b8eb8ead769908f2 (diff) | |
parent | c24351681f672a2ce561b9cb6d73172dfc36c45c (diff) |
Merge pull request #53 from nyorain/drm_buffer
Implement drm (egl) buffer attaching
Diffstat (limited to 'include/backend/egl.h')
-rw-r--r-- | include/backend/egl.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/include/backend/egl.h b/include/backend/egl.h deleted file mode 100644 index 0422a52b..00000000 --- a/include/backend/egl.h +++ /dev/null @@ -1,18 +0,0 @@ -#ifndef WLR_BACKEND_EGL_H -#define WLR_BACKEND_EGL_H - -#include <EGL/egl.h> -#include <stdbool.h> - -struct wlr_egl { - EGLDisplay display; - EGLConfig config; - EGLContext context; -}; - -const char *egl_error(void); -bool wlr_egl_init(struct wlr_egl *egl, EGLenum platform, void *display); -void wlr_egl_free(struct wlr_egl *egl); -EGLSurface wlr_egl_create_surface(struct wlr_egl *egl, void *window); - -#endif |