[Piglit] [PATCH 1/3] util: Exposed piglit_compare_images_ubyte in piglit-util-gl.h so that tests can use it.

Laura Ekstrand laura at jlekstrand.net
Tue Nov 25 11:19:12 PST 2014


---
 tests/util/piglit-util-gl.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tests/util/piglit-util-gl.h b/tests/util/piglit-util-gl.h
index adf98d8..69544d3 100644
--- a/tests/util/piglit-util-gl.h
+++ b/tests/util/piglit-util-gl.h
@@ -140,6 +140,9 @@ int piglit_compare_images_color(int x, int y, int w, int h, int num_components,
 int piglit_probe_image_color(int x, int y, int w, int h, GLenum format, const float *image);
 int piglit_probe_image_rgb(int x, int y, int w, int h, const float *image);
 int piglit_probe_image_rgba(int x, int y, int w, int h, const float *image);
+int piglit_compare_images_ubyte(int x, int y, int w, int h,
+				const GLubyte *expected_image,
+				const GLubyte *observed_image);
 int piglit_probe_image_stencil(int x, int y, int w, int h, const GLubyte *image);
 int piglit_probe_image_ubyte(int x, int y, int w, int h, GLenum format,
 			     const GLubyte *image);
-- 
2.1.0



More information about the Piglit mailing list