[Piglit] [PATCH 0/4] refactor EGL test framework

Tapani Pälli tapani.palli at intel.com
Sun May 29 22:28:40 PDT 2011


Hello;

On 05/27/2011 11:56 PM, Chad Versace wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 05/24/2011 01:02 AM, Tapani Pälli wrote:
>> Add config_attribs field to egl_test so that tests have to pass
>> their wanted attributes for the EGL config selection. Now tests
>> can pass any custom attributes for testing different features and
>> behaviors with different configs.
>>
>> I changed the existing tests to pass the attributes.
>>
>> Tapani Pälli (4):
>>    egl-util.h : add EGL config attributes to egl_test struct
>>    egl-util.c : Remove hardcoded attributes, use attributes from
>>      egl_test structure. For existing tests to work correctly, call
>>      eglBindAPI when EGL_RENDERABLE_TYPE is set to EGL_OPENGL_BIT.
>>    egl tests : pass wanted attributes for EGL config
>>    egl-util.c : remove misleading doxygen comments
>>
>>   tests/egl/egl-create-surface.c          |   11 +++++++++++
>>   tests/egl/egl-nok-swap-region.c         |   11 +++++++++++
>>   tests/egl/egl-nok-texture-from-pixmap.c |   11 +++++++++++
>>   tests/egl/egl-util.c                    |   25 ++++++++-----------------
>>   tests/egl/egl-util.h                    |    1 +
>>   5 files changed, 42 insertions(+), 17 deletions(-)
>>
> I think this is a good idea, and would like to see this implemented if
> there exists some pending test that will use the functionality. For what
> test case do you need to alter the EGLConfig, and spefically which
> EGLConfig attributes do you need to alter?

I wanted to make it possible to run tests on different visual depths as 
well as to be able to create config with EGL_OPENGL_ES2_BIT. My goal is 
to write set of tests for EGL/GLES2 extensions.

> See my comments on the individual patches.
>

Thanks for the review, I will fix the issues you found.

> - -- 
> Chad Versace
> chad at chad-versace.us
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (GNU/Linux)
> Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/
>
> iQIcBAEBAgAGBQJN4A/0AAoJEAIvNt057x8ivEcP/3xzuP/SDERChGBivpIEjLl4
> tIlthG7UigjSEhZEpCq3rWzVxlaYNYDamy59vVyYJ+gBBVbPTaVevqvRwQ/WO/s9
> waiTcjCObZ/v8k2XHzVF8FROXAxOA0cAs9tKO0n2eY6Y6bINL+bgEl0lEpEWZR9p
> wumbK2G53N2VF6kLRyBX+rfxi8yv1PmrkaO3K75FgHkM+VfmxqA6zCbRk8ySUbs1
> 99k+xSjqYG6eCBcbFo/15Ks9bfwuq58HeWkyzuF5VZHA4ECQqfnLQ3LFI0Q2Id9X
> GzYJ11lFfJ1vvvKq1V53ubBaF7dIwDtOXvtVVQw72lJCA7ExELxMF9OLrzBKIlmO
> XOAd8g6ubX82F6WKiPW2HSp3h+mESXbafN6C2RnBK7yFV/RpAuSUWTs9pmXtMuNS
> Ad1SZI/NxQwmsxMLUtz8L7TylvHI/ciEECuSgfsIaUD6ninvJcISTNHokaLE7PsD
> l49RnRVOH7ciqszzsW4yqXq1wIpU83eSrE8YuNLwSTjVzOsKQ6COGIX/ION/IlGp
> vvmlDjKqCWg/OmPbAKyNBN6My5/0ohAoz7NQQO7qLkxVCCnpuFfv5bn1OaPcHOcm
> xOsCaGpwlwJUEUHuPigyxbkQmS9LzQCRKCJ3Xa90iIfFpQJ4ufY3wuzjCioQjd9w
> sPOJPh/NmQ5/Zpm0K0GT
> =vzDl
> -----END PGP SIGNATURE-----

// Tapani

---------------------------------------------------------------------
Intel Finland Oy
Registered Address: PL 281, 00181 Helsinki 
Business Identity Code: 0357606 - 4 
Domiciled in Helsinki 

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.


More information about the Piglit mailing list