[Piglit] piglit tests for EGL_KHR_create_context

Matt Turner mattst88 at gmail.com
Fri Aug 24 16:32:45 PDT 2012


On Thu, Aug 16, 2012 at 10:52 AM, Matt Turner <mattst88 at gmail.com> wrote:
> 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.

So I fixed a pair of tests (patches 11 and 15) and resent them, and
also found and fixed a bug in Mesa that caused invalid-flags-gl to
fail. Given that, I'm sufficiently sure that these tests do what we
want, so I committed them.

Thanks,
Matt


More information about the Piglit mailing list