egl: remove remnants of MESA_drm_display
Last set in st/egl, unused in mesa-demos and superseded by EGL_KHR_platform_gbm. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
This commit is contained in:
@@ -34,17 +34,6 @@ extern "C" {
|
|||||||
|
|
||||||
#include <EGL/eglplatform.h>
|
#include <EGL/eglplatform.h>
|
||||||
|
|
||||||
#ifndef EGL_MESA_drm_display
|
|
||||||
#define EGL_MESA_drm_display 1
|
|
||||||
|
|
||||||
#ifdef EGL_EGLEXT_PROTOTYPES
|
|
||||||
EGLAPI EGLDisplay EGLAPIENTRY eglGetDRMDisplayMESA(int fd);
|
|
||||||
#endif /* EGL_EGLEXT_PROTOTYPES */
|
|
||||||
|
|
||||||
typedef EGLDisplay (EGLAPIENTRYP PFNEGLGETDRMDISPLAYMESA) (int fd);
|
|
||||||
|
|
||||||
#endif /* EGL_MESA_drm_display */
|
|
||||||
|
|
||||||
#ifdef EGL_MESA_drm_image
|
#ifdef EGL_MESA_drm_image
|
||||||
/* Mesa's extension to EGL_MESA_drm_image... */
|
/* Mesa's extension to EGL_MESA_drm_image... */
|
||||||
#ifndef EGL_DRM_BUFFER_USE_CURSOR_MESA
|
#ifndef EGL_DRM_BUFFER_USE_CURSOR_MESA
|
||||||
|
@@ -408,7 +408,6 @@ _eglCreateExtensionsString(_EGLDisplay *dpy)
|
|||||||
_EGL_CHECK_EXTENSION(KHR_wait_sync);
|
_EGL_CHECK_EXTENSION(KHR_wait_sync);
|
||||||
|
|
||||||
_EGL_CHECK_EXTENSION(MESA_configless_context);
|
_EGL_CHECK_EXTENSION(MESA_configless_context);
|
||||||
_EGL_CHECK_EXTENSION(MESA_drm_display);
|
|
||||||
_EGL_CHECK_EXTENSION(MESA_drm_image);
|
_EGL_CHECK_EXTENSION(MESA_drm_image);
|
||||||
_EGL_CHECK_EXTENSION(MESA_image_dma_buf_export);
|
_EGL_CHECK_EXTENSION(MESA_image_dma_buf_export);
|
||||||
|
|
||||||
@@ -1197,13 +1196,6 @@ eglGetError(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static EGLDisplay EGLAPIENTRY
|
|
||||||
eglGetDRMDisplayMESA(int fd)
|
|
||||||
{
|
|
||||||
_EGLDisplay *dpy = _eglFindDisplay(_EGL_PLATFORM_DRM, (void *) (intptr_t) fd);
|
|
||||||
return _eglGetDisplayHandle(dpy);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
** EGL 1.2
|
** EGL 1.2
|
||||||
**/
|
**/
|
||||||
@@ -1857,7 +1849,6 @@ eglGetProcAddress(const char *procname)
|
|||||||
{ "eglGetPlatformDisplay", (_EGLProc) eglGetPlatformDisplay },
|
{ "eglGetPlatformDisplay", (_EGLProc) eglGetPlatformDisplay },
|
||||||
{ "eglCreatePlatformWindowSurface", (_EGLProc) eglCreatePlatformWindowSurface },
|
{ "eglCreatePlatformWindowSurface", (_EGLProc) eglCreatePlatformWindowSurface },
|
||||||
{ "eglCreatePlatformPixmapSurface", (_EGLProc) eglCreatePlatformPixmapSurface },
|
{ "eglCreatePlatformPixmapSurface", (_EGLProc) eglCreatePlatformPixmapSurface },
|
||||||
{ "eglGetDRMDisplayMESA", (_EGLProc) eglGetDRMDisplayMESA },
|
|
||||||
{ "eglCreateImageKHR", (_EGLProc) eglCreateImageKHR },
|
{ "eglCreateImageKHR", (_EGLProc) eglCreateImageKHR },
|
||||||
{ "eglDestroyImageKHR", (_EGLProc) eglDestroyImage },
|
{ "eglDestroyImageKHR", (_EGLProc) eglDestroyImage },
|
||||||
{ "eglCreateSyncKHR", (_EGLProc) eglCreateSyncKHR },
|
{ "eglCreateSyncKHR", (_EGLProc) eglCreateSyncKHR },
|
||||||
|
@@ -115,7 +115,6 @@ struct _egl_extensions
|
|||||||
EGLBoolean KHR_wait_sync;
|
EGLBoolean KHR_wait_sync;
|
||||||
|
|
||||||
EGLBoolean MESA_configless_context;
|
EGLBoolean MESA_configless_context;
|
||||||
EGLBoolean MESA_drm_display;
|
|
||||||
EGLBoolean MESA_drm_image;
|
EGLBoolean MESA_drm_image;
|
||||||
EGLBoolean MESA_image_dma_buf_export;
|
EGLBoolean MESA_image_dma_buf_export;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user