Lines Matching refs:userptr

85 static void glad_egl_load_EGL_VERSION_1_0( GLADuserptrloadfunc load, void* userptr) {  in glad_egl_load_EGL_VERSION_1_0()  argument
87 glad_eglChooseConfig = (PFNEGLCHOOSECONFIGPROC) load(userptr, "eglChooseConfig"); in glad_egl_load_EGL_VERSION_1_0()
88 glad_eglCopyBuffers = (PFNEGLCOPYBUFFERSPROC) load(userptr, "eglCopyBuffers"); in glad_egl_load_EGL_VERSION_1_0()
89 glad_eglCreateContext = (PFNEGLCREATECONTEXTPROC) load(userptr, "eglCreateContext"); in glad_egl_load_EGL_VERSION_1_0()
90 …glad_eglCreatePbufferSurface = (PFNEGLCREATEPBUFFERSURFACEPROC) load(userptr, "eglCreatePbufferSur… in glad_egl_load_EGL_VERSION_1_0()
91 …glad_eglCreatePixmapSurface = (PFNEGLCREATEPIXMAPSURFACEPROC) load(userptr, "eglCreatePixmapSurfac… in glad_egl_load_EGL_VERSION_1_0()
92 …glad_eglCreateWindowSurface = (PFNEGLCREATEWINDOWSURFACEPROC) load(userptr, "eglCreateWindowSurfac… in glad_egl_load_EGL_VERSION_1_0()
93 glad_eglDestroyContext = (PFNEGLDESTROYCONTEXTPROC) load(userptr, "eglDestroyContext"); in glad_egl_load_EGL_VERSION_1_0()
94 glad_eglDestroySurface = (PFNEGLDESTROYSURFACEPROC) load(userptr, "eglDestroySurface"); in glad_egl_load_EGL_VERSION_1_0()
95 glad_eglGetConfigAttrib = (PFNEGLGETCONFIGATTRIBPROC) load(userptr, "eglGetConfigAttrib"); in glad_egl_load_EGL_VERSION_1_0()
96 glad_eglGetConfigs = (PFNEGLGETCONFIGSPROC) load(userptr, "eglGetConfigs"); in glad_egl_load_EGL_VERSION_1_0()
97 glad_eglGetCurrentDisplay = (PFNEGLGETCURRENTDISPLAYPROC) load(userptr, "eglGetCurrentDisplay"); in glad_egl_load_EGL_VERSION_1_0()
98 glad_eglGetCurrentSurface = (PFNEGLGETCURRENTSURFACEPROC) load(userptr, "eglGetCurrentSurface"); in glad_egl_load_EGL_VERSION_1_0()
99 glad_eglGetDisplay = (PFNEGLGETDISPLAYPROC) load(userptr, "eglGetDisplay"); in glad_egl_load_EGL_VERSION_1_0()
100 glad_eglGetError = (PFNEGLGETERRORPROC) load(userptr, "eglGetError"); in glad_egl_load_EGL_VERSION_1_0()
101 glad_eglGetProcAddress = (PFNEGLGETPROCADDRESSPROC) load(userptr, "eglGetProcAddress"); in glad_egl_load_EGL_VERSION_1_0()
102 glad_eglInitialize = (PFNEGLINITIALIZEPROC) load(userptr, "eglInitialize"); in glad_egl_load_EGL_VERSION_1_0()
103 glad_eglMakeCurrent = (PFNEGLMAKECURRENTPROC) load(userptr, "eglMakeCurrent"); in glad_egl_load_EGL_VERSION_1_0()
104 glad_eglQueryContext = (PFNEGLQUERYCONTEXTPROC) load(userptr, "eglQueryContext"); in glad_egl_load_EGL_VERSION_1_0()
105 glad_eglQueryString = (PFNEGLQUERYSTRINGPROC) load(userptr, "eglQueryString"); in glad_egl_load_EGL_VERSION_1_0()
106 glad_eglQuerySurface = (PFNEGLQUERYSURFACEPROC) load(userptr, "eglQuerySurface"); in glad_egl_load_EGL_VERSION_1_0()
107 glad_eglSwapBuffers = (PFNEGLSWAPBUFFERSPROC) load(userptr, "eglSwapBuffers"); in glad_egl_load_EGL_VERSION_1_0()
108 glad_eglTerminate = (PFNEGLTERMINATEPROC) load(userptr, "eglTerminate"); in glad_egl_load_EGL_VERSION_1_0()
109 glad_eglWaitGL = (PFNEGLWAITGLPROC) load(userptr, "eglWaitGL"); in glad_egl_load_EGL_VERSION_1_0()
110 glad_eglWaitNative = (PFNEGLWAITNATIVEPROC) load(userptr, "eglWaitNative"); in glad_egl_load_EGL_VERSION_1_0()
112 static void glad_egl_load_EGL_VERSION_1_1( GLADuserptrloadfunc load, void* userptr) { in glad_egl_load_EGL_VERSION_1_1() argument
114 glad_eglBindTexImage = (PFNEGLBINDTEXIMAGEPROC) load(userptr, "eglBindTexImage"); in glad_egl_load_EGL_VERSION_1_1()
115 glad_eglReleaseTexImage = (PFNEGLRELEASETEXIMAGEPROC) load(userptr, "eglReleaseTexImage"); in glad_egl_load_EGL_VERSION_1_1()
116 glad_eglSurfaceAttrib = (PFNEGLSURFACEATTRIBPROC) load(userptr, "eglSurfaceAttrib"); in glad_egl_load_EGL_VERSION_1_1()
117 glad_eglSwapInterval = (PFNEGLSWAPINTERVALPROC) load(userptr, "eglSwapInterval"); in glad_egl_load_EGL_VERSION_1_1()
119 static void glad_egl_load_EGL_VERSION_1_2( GLADuserptrloadfunc load, void* userptr) { in glad_egl_load_EGL_VERSION_1_2() argument
121 glad_eglBindAPI = (PFNEGLBINDAPIPROC) load(userptr, "eglBindAPI"); in glad_egl_load_EGL_VERSION_1_2()
122 …glad_eglCreatePbufferFromClientBuffer = (PFNEGLCREATEPBUFFERFROMCLIENTBUFFERPROC) load(userptr, "e… in glad_egl_load_EGL_VERSION_1_2()
123 glad_eglQueryAPI = (PFNEGLQUERYAPIPROC) load(userptr, "eglQueryAPI"); in glad_egl_load_EGL_VERSION_1_2()
124 glad_eglReleaseThread = (PFNEGLRELEASETHREADPROC) load(userptr, "eglReleaseThread"); in glad_egl_load_EGL_VERSION_1_2()
125 glad_eglWaitClient = (PFNEGLWAITCLIENTPROC) load(userptr, "eglWaitClient"); in glad_egl_load_EGL_VERSION_1_2()
127 static void glad_egl_load_EGL_VERSION_1_4( GLADuserptrloadfunc load, void* userptr) { in glad_egl_load_EGL_VERSION_1_4() argument
129 glad_eglGetCurrentContext = (PFNEGLGETCURRENTCONTEXTPROC) load(userptr, "eglGetCurrentContext"); in glad_egl_load_EGL_VERSION_1_4()
131 static void glad_egl_load_EGL_VERSION_1_5( GLADuserptrloadfunc load, void* userptr) { in glad_egl_load_EGL_VERSION_1_5() argument
133 glad_eglClientWaitSync = (PFNEGLCLIENTWAITSYNCPROC) load(userptr, "eglClientWaitSync"); in glad_egl_load_EGL_VERSION_1_5()
134 glad_eglCreateImage = (PFNEGLCREATEIMAGEPROC) load(userptr, "eglCreateImage"); in glad_egl_load_EGL_VERSION_1_5()
135 …glad_eglCreatePlatformPixmapSurface = (PFNEGLCREATEPLATFORMPIXMAPSURFACEPROC) load(userptr, "eglCr… in glad_egl_load_EGL_VERSION_1_5()
136 …glad_eglCreatePlatformWindowSurface = (PFNEGLCREATEPLATFORMWINDOWSURFACEPROC) load(userptr, "eglCr… in glad_egl_load_EGL_VERSION_1_5()
137 glad_eglCreateSync = (PFNEGLCREATESYNCPROC) load(userptr, "eglCreateSync"); in glad_egl_load_EGL_VERSION_1_5()
138 glad_eglDestroyImage = (PFNEGLDESTROYIMAGEPROC) load(userptr, "eglDestroyImage"); in glad_egl_load_EGL_VERSION_1_5()
139 glad_eglDestroySync = (PFNEGLDESTROYSYNCPROC) load(userptr, "eglDestroySync"); in glad_egl_load_EGL_VERSION_1_5()
140 …glad_eglGetPlatformDisplay = (PFNEGLGETPLATFORMDISPLAYPROC) load(userptr, "eglGetPlatformDisplay"); in glad_egl_load_EGL_VERSION_1_5()
141 glad_eglGetSyncAttrib = (PFNEGLGETSYNCATTRIBPROC) load(userptr, "eglGetSyncAttrib"); in glad_egl_load_EGL_VERSION_1_5()
142 glad_eglWaitSync = (PFNEGLWAITSYNCPROC) load(userptr, "eglWaitSync"); in glad_egl_load_EGL_VERSION_1_5()
144 static void glad_egl_load_EGL_EXT_platform_base( GLADuserptrloadfunc load, void* userptr) { in glad_egl_load_EGL_EXT_platform_base() argument
146 …atformPixmapSurfaceEXT = (PFNEGLCREATEPLATFORMPIXMAPSURFACEEXTPROC) load(userptr, "eglCreatePlatfo… in glad_egl_load_EGL_EXT_platform_base()
147 …atformWindowSurfaceEXT = (PFNEGLCREATEPLATFORMWINDOWSURFACEEXTPROC) load(userptr, "eglCreatePlatfo… in glad_egl_load_EGL_EXT_platform_base()
148 …glad_eglGetPlatformDisplayEXT = (PFNEGLGETPLATFORMDISPLAYEXTPROC) load(userptr, "eglGetPlatformDis… in glad_egl_load_EGL_EXT_platform_base()
179 static GLADapiproc glad_egl_get_proc_from_userptr(void *userptr, const char *name) { in glad_egl_get_proc_from_userptr() argument
180 return (GLAD_GNUC_EXTENSION (GLADapiproc (*)(const char *name)) userptr)(name); in glad_egl_get_proc_from_userptr()
236 int gladLoadEGLUserPtr(EGLDisplay display, GLADuserptrloadfunc load, void* userptr) { in gladLoadEGLUserPtr() argument
238 eglGetDisplay = (PFNEGLGETDISPLAYPROC) load(userptr, "eglGetDisplay"); in gladLoadEGLUserPtr()
239 eglGetCurrentDisplay = (PFNEGLGETCURRENTDISPLAYPROC) load(userptr, "eglGetCurrentDisplay"); in gladLoadEGLUserPtr()
240 eglQueryString = (PFNEGLQUERYSTRINGPROC) load(userptr, "eglQueryString"); in gladLoadEGLUserPtr()
241 eglGetError = (PFNEGLGETERRORPROC) load(userptr, "eglGetError"); in gladLoadEGLUserPtr()
246 glad_egl_load_EGL_VERSION_1_0(load, userptr); in gladLoadEGLUserPtr()
247 glad_egl_load_EGL_VERSION_1_1(load, userptr); in gladLoadEGLUserPtr()
248 glad_egl_load_EGL_VERSION_1_2(load, userptr); in gladLoadEGLUserPtr()
249 glad_egl_load_EGL_VERSION_1_4(load, userptr); in gladLoadEGLUserPtr()
250 glad_egl_load_EGL_VERSION_1_5(load, userptr); in gladLoadEGLUserPtr()
253 glad_egl_load_EGL_EXT_platform_base(load, userptr); in gladLoadEGLUserPtr()