[Piglit] [PATCH 0/5] EGL_EXT_platform_base: Add tests for Linux platform extensions

Chad Versace chad.versace at linux.intel.com
Sun Feb 9 13:31:11 PST 2014


Add tests for Linux platform extensions layered atop
EGL_EXT_platform_base:

    EGL_EXT_platform_x11
    EGL_EXT_platform_wayland
    EGL_MESA_platform_gbm

I feel that these tests cover enough of the extension's features that they
should get committed soon.  I'm sure I forgot to test some aspect of those
extensions, and we can add those missed features as we discover them.

I tested this against my Mesa branch 'EGL_EXT_platform_base-v16' at
`git://people.freedesktop.org/~chadversary/mesa`.

To get all tests to pass in a single Piglit run, I ran Piglit under an X11
session, with a windowed Weston open and a kernel with render nodes.

Chad Versace (5):
  cmake: Search for udev.pc on Linux
  util/egl: Add EGLDisplay parameter to piglit_require_egl_extension()
  egl: Use piglit_require_egl_extension() when appropriate
  util/egl: Support querying client extensions
  EGL_EXT_platform_base: Add tests for Linux platform extensions

 CMakeLists.txt                                     |   6 +
 tests/all.py                                       |   9 +
 tests/egl/spec/CMakeLists.txt                      |   1 +
 .../egl-1.4/egl-terminate-then-unbind-context.c    |   3 +-
 .../egl_ext_platform_base/CMakeLists.no_api.txt    |  20 ++
 .../egl/spec/egl_ext_platform_base/CMakeLists.txt  |   1 +
 tests/egl/spec/egl_ext_platform_base/common.h      |  91 ++++++
 .../egl_ext_platform_base/egl_ext_platform_base.c  | 240 +++++++++++++++
 tests/egl/spec/egl_ext_platform_base/gbm.c         | 270 +++++++++++++++++
 tests/egl/spec/egl_ext_platform_base/wayland.c     | 327 +++++++++++++++++++++
 tests/egl/spec/egl_ext_platform_base/x11.c         | 257 ++++++++++++++++
 .../intel_external_sampler_only.c                  |   5 +-
 .../intel_external_sampler_with_dma_only.c         |   5 +-
 .../intel_unsupported_format.c                     |   5 +-
 .../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  |   3 +-
 tests/spec/ext_image_dma_buf_import/sample_rgb.c   |   3 +-
 tests/util/piglit-util-egl.c                       |  12 +-
 tests/util/piglit-util-egl.h                       |   2 +-
 21 files changed, 1253 insertions(+), 16 deletions(-)
 create mode 100644 tests/egl/spec/egl_ext_platform_base/CMakeLists.no_api.txt
 create mode 100644 tests/egl/spec/egl_ext_platform_base/CMakeLists.txt
 create mode 100644 tests/egl/spec/egl_ext_platform_base/common.h
 create mode 100644 tests/egl/spec/egl_ext_platform_base/egl_ext_platform_base.c
 create mode 100644 tests/egl/spec/egl_ext_platform_base/gbm.c
 create mode 100644 tests/egl/spec/egl_ext_platform_base/wayland.c
 create mode 100644 tests/egl/spec/egl_ext_platform_base/x11.c

-- 
1.8.5.3



More information about the Piglit mailing list