Mesa (master): egl: remove remaining EGL_MESA_copy_context skeleton

Emil Velikov evelikov at kemper.freedesktop.org
Thu May 14 20:06:53 UTC 2015


Module: Mesa
Branch: master
Commit: 0c4eef6a2cad72571efb15a5fdca2726f0540d07
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0c4eef6a2cad72571efb15a5fdca2726f0540d07

Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Thu May 14 18:50:22 2015 +0000

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 <emil.l.velikov at gmail.com>
Reviewed-by: Adam Jackson <ajax at redhat.com>

---

 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 40a60ec..87748ca 100644
--- a/include/EGL/eglmesaext.h
+++ b/include/EGL/eglmesaext.h
@@ -34,17 +34,6 @@ extern "C" {
 
 #include <EGL/eglplatform.h>
 
-#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 dbfad63..fbb14f1 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 6862e2f..bb394ec 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;




More information about the mesa-commit mailing list