[Piglit] [PATCH 1/1] tests: enable test case egl-context-priority on all egl platforms

Tapani Pälli tapani.palli at intel.com
Mon Oct 29 18:30:53 UTC 2018


Reviewed-by: Tapani Pälli <tapani.palli at intel.com>

On 10/29/18 7:01 PM, James Xiong wrote:
> 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) {
> 


More information about the Piglit mailing list