[Piglit] [PATCH 1/1] tests: enable test case egl-context-priority on all egl platforms
James Xiong
james.xiong at intel.com
Mon Oct 29 17:01:49 UTC 2018
From: "Xiong, James" <james.xiong at intel.com>
Signed-off-by: Xiong, James <james.xiong at intel.com>
---
tests/egl/egl-context-priority.c | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/tests/egl/egl-context-priority.c b/tests/egl/egl-context-priority.c
index 9590cca..4b75661 100644
--- a/tests/egl/egl-context-priority.c
+++ b/tests/egl/egl-context-priority.c
@@ -94,12 +94,7 @@ piglit_init(int argc, char **argv)
EGL_CONTEXT_PRIORITY_LOW_IMG
};
- /* Require EGL_MESA_platform_surfaceless extension. */
- const char *exts = eglQueryString(EGL_NO_DISPLAY, EGL_EXTENSIONS);
- if (!strstr(exts, "EGL_MESA_platform_surfaceless"))
- piglit_report_result(PIGLIT_SKIP);
-
- dpy = piglit_egl_get_default_display(EGL_PLATFORM_SURFACELESS_MESA);
+ dpy = piglit_egl_get_default_display(EGL_NONE);
ok = eglInitialize(dpy, &major, &minor);
if (!ok) {
--
2.7.4
More information about the Piglit
mailing list