[Piglit] [PATCH] egl-1.4: Add test egl-terminate-then-unbind-context
Chad Versace
chad.versace at linux.intel.com
Fri Oct 4 13:49:19 PDT 2013
On 10/04/2013 01:42 PM, Paul Berry wrote:
> On 20 September 2013 12:38, Chad Versace <chad.versace at linux.intel.com>wrote:
> It's not obvious clear why EGL_KHR_surfaceless_context is necessary for
> this test. Can we remove this check, or add a comment explaining why it's
> necessary?
>
> With that addressed, this patch is:
>
> Reviewed-by: Paul Berry <stereotype441 at gmail.com>
Does this comment suffice?
/* This test tries to be window-system independent, and so avoids
* creating any EGLSurface. To call eglMakeCurrent() without a surface
* requires EGL_KHR_surfaceless_context.
*/
if (!piglit_is_egl_extension_supported(dpy, "EGL_KHR_surfaceless_context"))
piglit_report_result(PIGLIT_SKIP);
More information about the Piglit
mailing list