[Piglit] [PATCH 0/8] Tests for EGL_EXT_client_extensions

Chad Versace chad.versace at linux.intel.com
Sat Oct 12 04:09:14 CEST 2013


In many places in Piglit, the code (and the CMake) still assumes each test
wants to use GL (or GLES).  We've been slowly cleaning that up for the sake of
the EGL and CL tests.

Patches 1-5,7 continue those clean ups.
Patch 6 adds a new utility function.
Patch 8 is the actual test.

This series lives on my egl-ext-client-extensions branch. I tested it against
my Mesa branch of the same name.

Chad Versace (8):
  util/gl: Define GL_GLEXT_PROTOTYPES for all GLES1 tests
  util/egl: Include eglext.h from piglit-util-egl.h
  ext_image_dma_buf_import: Cleanup up #includes
  util: Move EGL utilities from libpiglitutil_gl to libpiglitutil
  egl: Fix CMake traversal into egl/spec dir
  util: Add piglit_split_string_to_array()
  util: Move piglit_strip_arg()
  egl_ext_client_extensions: Add initial tests

 src/piglit/gl_wrap.h                               |   1 +
 tests/all.tests                                    |   5 +
 tests/egl/CMakeLists.gl.txt                        |   2 -
 tests/egl/CMakeLists.gles2.txt                     |   5 -
 tests/egl/CMakeLists.txt                           |   1 +
 tests/egl/spec/CMakeLists.txt                      |   1 +
 .../CMakeLists.no_api.txt                          |   7 +
 .../spec/egl_ext_client_extensions/CMakeLists.txt  |   1 +
 .../egl_ext_client_extensions.c                    | 244 +++++++++++++++++++++
 tests/spec/ext_image_dma_buf_import/image_common.c |   1 -
 tests/spec/ext_image_dma_buf_import/image_common.h |   6 +-
 .../intel_external_sampler_only.c                  |   5 -
 .../intel_external_sampler_with_dma_only.c         |   1 -
 .../intel_unsupported_format.c                     |   3 -
 .../ext_image_dma_buf_import/invalid_attributes.c  |   3 -
 .../spec/ext_image_dma_buf_import/invalid_hints.c  |   3 -
 .../ext_image_dma_buf_import/missing_attributes.c  |   3 -
 .../ext_image_dma_buf_import/ownership_transfer.c  |   4 +-
 .../spec/ext_image_dma_buf_import/sample_common.c  |   4 +-
 .../spec/ext_image_dma_buf_import/sample_common.h  |   3 +-
 tests/spec/ext_image_dma_buf_import/sample_rgb.c   |   3 -
 tests/util/CMakeLists.no_api.txt                   |  12 +
 tests/util/CMakeLists.txt                          |  11 -
 tests/util/piglit-framework-gl.c                   |  18 --
 tests/util/piglit-framework-gl.h                   |   1 -
 tests/util/piglit-util-egl.h                       |   5 +-
 tests/util/piglit-util-gl-common.c                 |  23 +-
 tests/util/piglit-util.c                           |  52 +++++
 tests/util/piglit-util.h                           |   6 +
 29 files changed, 344 insertions(+), 90 deletions(-)
 delete mode 100644 tests/egl/CMakeLists.gles2.txt
 create mode 100644 tests/egl/spec/egl_ext_client_extensions/CMakeLists.no_api.txt
 create mode 100644 tests/egl/spec/egl_ext_client_extensions/CMakeLists.txt
 create mode 100644 tests/egl/spec/egl_ext_client_extensions/egl_ext_client_extensions.c

-- 
1.8.3.1



More information about the Piglit mailing list