From 0c4eef6a2cad72571efb15a5fdca2726f0540d07 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Thu, 14 May 2015 18:50:22 +0000 Subject: [PATCH] egl: remove remaining EGL_MESA_copy_context skeleton With earlier commit (7a58262e58d egl: Remove skeleton implementation of EGL_MESA_screen_surface) we've removed the skeleton implementation of eglCopyContextMESA(). Just like EGL_MESA_screen_surface this extension was never implemented in mesa. Signed-off-by: Emil Velikov Reviewed-by: Adam Jackson --- include/EGL/eglmesaext.h | 11 ----------- src/egl/main/eglapi.c | 1 - src/egl/main/egldisplay.h | 1 - 3 files changed, 13 deletions(-) diff --git a/include/EGL/eglmesaext.h b/include/EGL/eglmesaext.h index 40a60ec35ed..87748cadbee 100644 --- a/include/EGL/eglmesaext.h +++ b/include/EGL/eglmesaext.h @@ -34,17 +34,6 @@ extern "C" { #include -#ifndef EGL_MESA_copy_context -#define EGL_MESA_copy_context 1 - -#ifdef EGL_EGLEXT_PROTOTYPES -EGLAPI EGLBoolean EGLAPIENTRY eglCopyContextMESA(EGLDisplay dpy, EGLContext source, EGLContext dest, EGLint mask); -#endif /* EGL_EGLEXT_PROTOTYPES */ - -typedef EGLBoolean (EGLAPIENTRYP PFNEGLCOPYCONTEXTMESA) (EGLDisplay dpy, EGLContext source, EGLContext dest, EGLint mask); - -#endif /* EGL_MESA_copy_context */ - #ifndef EGL_MESA_drm_display #define EGL_MESA_drm_display 1 diff --git a/src/egl/main/eglapi.c b/src/egl/main/eglapi.c index dbfad634162..fbb14f1524a 100644 --- a/src/egl/main/eglapi.c +++ b/src/egl/main/eglapi.c @@ -341,7 +341,6 @@ _eglCreateExtensionsString(_EGLDisplay *dpy) char *exts = dpy->ExtensionsString; - _EGL_CHECK_EXTENSION(MESA_copy_context); _EGL_CHECK_EXTENSION(MESA_drm_display); _EGL_CHECK_EXTENSION(MESA_drm_image); _EGL_CHECK_EXTENSION(MESA_configless_context); diff --git a/src/egl/main/egldisplay.h b/src/egl/main/egldisplay.h index 6862e2f51b7..bb394ec2962 100644 --- a/src/egl/main/egldisplay.h +++ b/src/egl/main/egldisplay.h @@ -90,7 +90,6 @@ struct _egl_resource */ struct _egl_extensions { - EGLBoolean MESA_copy_context; EGLBoolean MESA_drm_display; EGLBoolean MESA_drm_image; EGLBoolean MESA_configless_context; -- 2.30.2