summaryrefslogtreecommitdiffstats
path: root/src/egl/main
diff options
context:
space:
mode:
authorTapani Pälli <[email protected]>2019-11-12 17:32:41 +0200
committerTapani Pälli <[email protected]>2019-11-14 07:46:14 +0200
commitff05f16c9988d5794028dba2d437e8796be85fdd (patch)
treed26342049fe0a2ee00724b63594e8661247e981e /src/egl/main
parente64b91e34aa04a137a322ae9444c1c603383c6d4 (diff)
Revert "egl: handle EGL_IMAGE_EXTERNAL_FLUSH_EXT"
This reverts commit 34b1aa957a3f44ea9587ec43311e8434d3782cc1. This series caused unexpected flickering artifacts with Iris driver on Chrome OS and EGL_EXT_image_flush_external spec has not been published yet. Acked-by: Eric Engestrom <[email protected]> Acked-by: Kristian H. Kristensen <[email protected]>
Diffstat (limited to 'src/egl/main')
-rw-r--r--src/egl/main/eglimage.c23
-rw-r--r--src/egl/main/eglimage.h3
2 files changed, 0 insertions, 26 deletions
diff --git a/src/egl/main/eglimage.c b/src/egl/main/eglimage.c
index ef4a68f2367..9df6b6511d5 100644
--- a/src/egl/main/eglimage.c
+++ b/src/egl/main/eglimage.c
@@ -265,25 +265,6 @@ _eglParseEXTImageDmaBufImportModifiersAttribs(_EGLImageAttribs *attrs,
return EGL_SUCCESS;
}
-static EGLint
-_eglParseEXTImageFlushExternalAttribs(_EGLImageAttribs *attrs,
- _EGLDisplay *disp,
- EGLint attr, EGLint val)
-{
- if (!disp->Extensions.EXT_image_flush_external)
- return EGL_BAD_PARAMETER;
-
- switch (attr) {
- case EGL_IMAGE_EXTERNAL_FLUSH_EXT:
- attrs->ImageFlushExternal = val;
- break;
- default:
- return EGL_BAD_PARAMETER;
- }
-
- return EGL_SUCCESS;
-}
-
/**
* Parse the list of image attributes.
*
@@ -305,10 +286,6 @@ _eglParseImageAttribList(_EGLImageAttribs *attrs, _EGLDisplay *disp,
EGLint attr = attrib_list[i++];
EGLint val = attrib_list[i];
- err = _eglParseEXTImageFlushExternalAttribs(attrs, disp, attr, val);
- if (err == EGL_SUCCESS)
- continue;
-
err = _eglParseKHRImageAttribs(attrs, disp, attr, val);
if (err == EGL_SUCCESS)
continue;
diff --git a/src/egl/main/eglimage.h b/src/egl/main/eglimage.h
index 84ad0f01b0c..6d2e7ba8a2d 100644
--- a/src/egl/main/eglimage.h
+++ b/src/egl/main/eglimage.h
@@ -50,9 +50,6 @@ struct _egl_image_attrib_int
struct _egl_image_attribs
{
- /* EGL_EXT_image_flush_external */
- EGLBoolean ImageFlushExternal;
-
/* EGL_KHR_image_base */
EGLBoolean ImagePreserved;