[Piglit] [PATCH 00/16] Unify piglit-util-{gl, gles}.c into piglit-util-gl-common.c

Josh Triplett josh at joshtriplett.org
Thu Jul 3 12:37:57 PDT 2014


This patch series unifies both the GL and GLES utility functions into a single
set of functions in piglit-util-gl-common.c, in preparation for unifying the
libraries themselves.

I've confirmed (on an IVB test system) that this causes zero piglit
regressions.

This supersedes the 4-patch series I sent yesterday.

Josh Triplett (16):
  Fix piglit_is_gles to return true for "OpenGL ES-CM 1.1 ..."
  Unify piglit_num_components between GL and GLES
  Move piglit_get_luminance_intensity_bits to GL common code
  Unify projection utility functions across GL and GLES
  Unify piglit_probe_pixel_* and piglit_probe_rect_* between GL and GLES
  Unify piglit_probe_image_* functions between GL and GLES
  Unify piglit_escape_exit_key between GL and GLES
  Move piglit_probe_texel_* functions to GL common code
  Move remaining piglit_probe_* functions to GL common code
  Move piglit program helper functions to GL common code
  Move piglit_draw_triangle* helper functions to GL common code
  Unify piglit_checkerboard_texture between GL and GLES
  Move piglit_miptree_texture to GL common code
  Factor out image generation from GLES piglit_rgbw_texture into a
    helper
  Unify piglit_rgbw_texture between GL and GLES; drop piglit-util-gles.c
  Move the remaining piglit-util-gl functions into piglit-util-gl-common

 tests/util/CMakeLists.gl.txt       |    2 -
 tests/util/CMakeLists.gles1.txt    |    5 -
 tests/util/CMakeLists.gles2.txt    |    1 -
 tests/util/CMakeLists.gles3.txt    |    1 -
 tests/util/piglit-util-gl-common.c | 1711 +++++++++++++++++++++++++++++++++++-
 tests/util/piglit-util-gl.c        | 1605 ---------------------------------
 tests/util/piglit-util-gles.c      |  446 ----------
 7 files changed, 1710 insertions(+), 2061 deletions(-)
 delete mode 100644 tests/util/piglit-util-gl.c
 delete mode 100644 tests/util/piglit-util-gles.c

-- 
2.0.1



More information about the Piglit mailing list