[Piglit] [PATCH 0/5] egl, glx: Test eglQuerySurface() and glXQueryDrawable()

Chad Versace chad at chad-versace.us
Wed Oct 19 18:37:45 PDT 2011


Patches 1-3 add some infrastructure needed to properly test eglQuerySurface().
Patches 4-5 add the actual tests.

On stock Fedora 15, all the eglQuerySurface tests pass and all the
glXQueryDrawable tests fail.

Chad Versace (5):
  egl: Change each test to initialize egl_test with common function
  egl: Add fields egl_test::window_width,window_height
  util: Add piglit_expect_egl_error()
  egl: Test behavior of eglQuerySurface()
  glx: Test behavior of glXQueryDrawable()

 tests/all.tests                         |    3 +
 tests/egl/CMakeLists.gl.txt             |    2 +
 tests/egl/egl-create-surface.c          |   23 +---
 tests/egl/egl-nok-swap-region.c         |   22 +---
 tests/egl/egl-nok-texture-from-pixmap.c |   22 +---
 tests/egl/egl-query-surface.c           |  193 ++++++++++++++++++++++++++++
 tests/egl/egl-util.c                    |   16 ++-
 tests/egl/egl-util.h                    |   21 +++
 tests/glx/CMakeLists.gl.txt             |    1 +
 tests/glx/glx-query-drawable.c          |  211 +++++++++++++++++++++++++++++++
 tests/util/CMakeLists.txt               |    7 +
 tests/util/piglit-util-egl.c            |   76 +++++++++++
 tests/util/piglit-util-egl.h            |   55 ++++++++
 13 files changed, 600 insertions(+), 52 deletions(-)
 create mode 100644 tests/egl/egl-query-surface.c
 create mode 100644 tests/glx/glx-query-drawable.c
 create mode 100644 tests/util/piglit-util-egl.c
 create mode 100644 tests/util/piglit-util-egl.h

-- 
1.7.6.4



More information about the Piglit mailing list