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

Ian Romanick idr at freedesktop.org
Thu Oct 27 10:51:23 PDT 2011


On 10/19/2011 06:37 PM, Chad Versace wrote:
> 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.

How do the GLX tests do on the closed-source drivers?

> 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


More information about the Piglit mailing list