forked from amonakov/primus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
egl-reimpl.def
13 lines (13 loc) · 1.36 KB
/
egl-reimpl.def
1
2
3
4
5
6
7
8
9
10
11
12
13
// EGL Functions implemented by primus
DEF_EGL_PROTO(EGLContext, eglCreateContext, (EGLDisplay dpy, EGLConfig config, EGLContext share_context, const EGLint *attrib_list),config,share_context,EGLint)
DEF_EGL_PROTO(EGLSurface, eglCreatePbufferSurface, (EGLDisplay dpy, EGLConfig config, const EGLint *attrib_list),config,EGLint)
DEF_EGL_PROTO(EGLSurface, eglCreateWindowSurface, (EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint *attrib_list),config,win,EGLint)
DEF_EGL_PROTO(EGLBoolean, eglDestroyContext, (EGLDisplay dpy, EGLContext ctx),ctx)
DEF_EGL_PROTO(EGLBoolean, eglDestroySurface, (EGLDisplay dpy, EGLSurface surface),surface)
DEF_EGL_PROTO(EGLBoolean, eglGetConfigAttrib, (EGLDisplay dpy, EGLConfig config, EGLint attribute, EGLint *value),config,attribute,*value)
DEF_EGL_PROTO(EGLContext, eglGetCurrentContext, (void))
DEF_EGL_PROTO(EGLDisplay, eglGetDisplay, (EGLNativeDisplayType display_id),display_id)
DEF_EGL_PROTO(__eglMustCastToProperFunctionPointerType, eglGetProcAddress, (const char* procname))
DEF_EGL_PROTO(EGLBoolean, eglMakeCurrent, (EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx),draw,read,ctx)
DEF_EGL_PROTO(EGLBoolean, eglQuerySurface, (EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint *value),surface,attribute,value)
DEF_EGL_PROTO(EGLBoolean, eglSwapBuffers, (EGLDisplay dpy, EGLSurface surface),surface)