[Piglit] piglit tests for EGL_KHR_create_context

Matt Turner mattst88 at gmail.com
Thu Aug 16 10:52:08 PDT 2012


On Tue, Jul 31, 2012 at 6:38 PM, Matt Turner <mattst88 at gmail.com> wrote:
>
> This series adds nine tests for EGL_KHR_create_context. It's based on
> the GLX_ARB_create_context tests but with some differences.
>
> These GLX_ARB_create_context tests aren't applicable:
>  - Verify rejection of forward-compatible flag w/pre-3.0
>  - Verify that invalid render types are rejected
>  - Verify that color-index rendering is rejected with OpenGL 3.0
>
> I don't have an implementation of EGL_KHR_create_context yet (Ian's
> working on it) so the tests are written blind. I'm pretty sure there
> are some problems with some of the attributes not being available under
> ES (grep the spec for 'including OpenGL ES'.
>
> Review and comments welcome.
>
> Thanks,
> Matt

Series updated with feedback from Ian. New tests added. The patches
are available in
http://cgit.freedesktop.org/~mattst88/piglit/log/?h=egl_khr_create_context2

The only test that fails is the invalid flag GL test, which
incorrectly creates contexts with bad flags. The GLES version of the
tests passes though.


More information about the Piglit mailing list