aboutsummaryrefslogtreecommitdiffstats
path: root/src/egl/main/eglapi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/egl/main/eglapi.c')
-rw-r--r--src/egl/main/eglapi.c50
1 files changed, 0 insertions, 50 deletions
diff --git a/src/egl/main/eglapi.c b/src/egl/main/eglapi.c
index 68db0bd4cb9..51557be0864 100644
--- a/src/egl/main/eglapi.c
+++ b/src/egl/main/eglapi.c
@@ -499,7 +499,6 @@ _eglCreateExtensionsString(_EGLDisplay *disp)
_EGL_CHECK_EXTENSION(EXT_create_context_robustness);
_EGL_CHECK_EXTENSION(EXT_image_dma_buf_import);
_EGL_CHECK_EXTENSION(EXT_image_dma_buf_import_modifiers);
- _EGL_CHECK_EXTENSION(EXT_image_flush_external);
_EGL_CHECK_EXTENSION(EXT_surface_CTA861_3_metadata);
_EGL_CHECK_EXTENSION(EXT_surface_SMPTE2086_metadata);
_EGL_CHECK_EXTENSION(EXT_swap_buffers_with_damage);
@@ -2748,55 +2747,6 @@ eglGetDisplayDriverName(EGLDisplay dpy)
RETURN_EGL_EVAL(disp, ret);
}
-static EGLBoolean EGLAPIENTRY
-eglImageFlushExternalEXT(EGLDisplay dpy, EGLImageKHR image,
- const EGLAttrib *attrib_list)
-{
- _EGLDisplay *disp = _eglLockDisplay(dpy);
- _EGLContext *ctx = _eglGetCurrentContext();
- _EGLImage *img = _eglLookupImage(image, disp);
- _EGLDriver *drv;
-
- _EGL_FUNC_START(disp, EGL_OBJECT_IMAGE_KHR, img, EGL_FALSE);
- _EGL_CHECK_DISPLAY(disp, EGL_FALSE, drv);
-
- if (attrib_list && attrib_list[0] != EGL_NONE)
- RETURN_EGL_ERROR(disp, EGL_BAD_PARAMETER, EGL_FALSE);
-
- if (!ctx || !disp->Extensions.EXT_image_flush_external)
- RETURN_EGL_EVAL(disp, EGL_FALSE);
- if (!img)
- RETURN_EGL_ERROR(disp, EGL_BAD_PARAMETER, EGL_FALSE);
-
-
- drv->API.ImageFlushExternal(disp, ctx, img);
- RETURN_EGL_EVAL(disp, EGL_TRUE);
-}
-
-static EGLBoolean EGLAPIENTRY
-eglImageInvalidateExternalEXT(EGLDisplay dpy, EGLImageKHR image,
- const EGLAttrib *attrib_list)
-{
- _EGLDisplay *disp = _eglLockDisplay(dpy);
- _EGLContext *ctx = _eglGetCurrentContext();
- _EGLImage *img = _eglLookupImage(image, disp);
- _EGLDriver *drv;
-
- _EGL_FUNC_START(disp, EGL_OBJECT_IMAGE_KHR, img, EGL_FALSE);
- _EGL_CHECK_DISPLAY(disp, EGL_FALSE, drv);
-
- if (attrib_list && attrib_list[0] != EGL_NONE)
- RETURN_EGL_ERROR(disp, EGL_BAD_PARAMETER, EGL_FALSE);
-
- if (!ctx || !disp->Extensions.EXT_image_flush_external)
- RETURN_EGL_EVAL(disp, EGL_FALSE);
- if (!img)
- RETURN_EGL_ERROR(disp, EGL_BAD_PARAMETER, EGL_FALSE);
-
- drv->API.ImageInvalidateExternal(disp, ctx, img);
- RETURN_EGL_EVAL(disp, EGL_TRUE);
-}
-
__eglMustCastToProperFunctionPointerType EGLAPIENTRY
eglGetProcAddress(const char *procname)
{