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

Tapani Pälli tapani.palli at intel.com
Tue May 24 01:02:00 PDT 2011


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(-)

-- 
1.7.5.1

---------------------------------------------------------------------
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