diff options
Diffstat (limited to 'src/egl/main/eglapi.c')
-rw-r--r-- | src/egl/main/eglapi.c | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/src/egl/main/eglapi.c b/src/egl/main/eglapi.c index 5d186c60e5a..a6782d8838b 100644 --- a/src/egl/main/eglapi.c +++ b/src/egl/main/eglapi.c @@ -217,9 +217,6 @@ _eglCheckConfig(_EGLDisplay *disp, _EGLConfig *conf, const char *msg) } -#ifdef EGL_KHR_reusable_sync - - static INLINE _EGLDriver * _eglCheckSync(_EGLDisplay *disp, _EGLSync *s, const char *msg) { @@ -234,9 +231,6 @@ _eglCheckSync(_EGLDisplay *disp, _EGLSync *s, const char *msg) } -#endif /* EGL_KHR_reusable_sync */ - - #ifdef EGL_MESA_screen_surface @@ -759,7 +753,6 @@ eglWaitClient(void) EGLBoolean EGLAPIENTRY eglWaitGL(void) { -#ifdef EGL_VERSION_1_2 _EGLThreadInfo *t = _eglGetCurrentThread(); EGLint api_index = t->CurrentAPIIndex; EGLint es_index = _eglConvertApiToIndex(EGL_OPENGL_ES_API); @@ -772,9 +765,6 @@ eglWaitGL(void) ret = eglWaitClient(); t->CurrentAPIIndex = api_index; return ret; -#else - return eglWaitClient(); -#endif } @@ -933,10 +923,8 @@ eglGetProcAddress(const char *procname) #ifdef EGL_MESA_drm_display { "eglGetDRMDisplayMESA", (_EGLProc) eglGetDRMDisplayMESA }, #endif -#ifdef EGL_KHR_image_base { "eglCreateImageKHR", (_EGLProc) eglCreateImageKHR }, { "eglDestroyImageKHR", (_EGLProc) eglDestroyImageKHR }, -#endif /* EGL_KHR_image_base */ #ifdef EGL_NOK_swap_region { "eglSwapBuffersRegionNOK", (_EGLProc) eglSwapBuffersRegionNOK }, #endif @@ -1208,9 +1196,6 @@ eglGetDRMDisplayMESA(int fd) ** EGL 1.2 **/ -#ifdef EGL_VERSION_1_2 - - /** * Specify the client API to use for subsequent calls including: * eglCreateContext() @@ -1309,12 +1294,6 @@ eglReleaseThread(void) } -#endif /* EGL_VERSION_1_2 */ - - -#ifdef EGL_KHR_image_base - - EGLImageKHR EGLAPIENTRY eglCreateImageKHR(EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attr_list) @@ -1360,12 +1339,6 @@ eglDestroyImageKHR(EGLDisplay dpy, EGLImageKHR image) } -#endif /* EGL_KHR_image_base */ - - -#ifdef EGL_KHR_reusable_sync - - EGLSyncKHR EGLAPIENTRY eglCreateSyncKHR(EGLDisplay dpy, EGLenum type, const EGLint *attrib_list) { @@ -1451,9 +1424,6 @@ eglGetSyncAttribKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLint attribute, EGLint *v } -#endif /* EGL_KHR_reusable_sync */ - - #ifdef EGL_NOK_swap_region EGLBoolean EGLAPIENTRY |