diff options
author | Steam Deck User <deck@arch.steamdeck> | 2023-03-16 13:36:19 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2023-03-17 11:44:51 +0100 |
commit | 8cbdb596ebf79587a432ed40583630b6cd39ed88 (patch) | |
tree | 82c60558aaaa7a1fc1eb9ffc388f1dd84a9529d2 /include/egl.h | |
parent | 689419a78238626aba887e974cbfcf5dff99de81 (diff) |
vaapi wip
Diffstat (limited to 'include/egl.h')
-rw-r--r-- | include/egl.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/egl.h b/include/egl.h index 6e8f763..f4c47ff 100644 --- a/include/egl.h +++ b/include/egl.h @@ -33,12 +33,14 @@ typedef void* EGLImageKHR; typedef void *GLeglImageOES; typedef void (*__eglMustCastToProperFunctionPointerType)(void); +#define EGL_SUCCESS 0x3000 #define EGL_BUFFER_SIZE 0x3020 #define EGL_RENDERABLE_TYPE 0x3040 #define EGL_OPENGL_ES2_BIT 0x0004 #define EGL_NONE 0x3038 #define EGL_CONTEXT_CLIENT_VERSION 0x3098 #define EGL_BACK_BUFFER 0x3084 +#define EGL_GL_TEXTURE_2D 0x30B1 #define GL_TEXTURE_2D 0x0DE1 #define GL_RGB 0x1907 @@ -97,6 +99,7 @@ typedef struct { EGLContext egl_context; Window window; + int32_t (*eglGetError)(void); EGLDisplay (*eglGetDisplay)(EGLNativeDisplayType display_id); unsigned int (*eglInitialize)(EGLDisplay dpy, int32_t *major, int32_t *minor); unsigned int (*eglTerminate)(EGLDisplay dpy); |