mutter/tests/conform
Robert Bragg 937337993d tests: stop using cogl-auto-texture apis
The plan is to remove the cogl-auto-texture apis since they hide a bit
too much from developers but currently the conformance tests depend on
these apis in numerous places.

For the conformance tests it makes some sense to continue using high
level texture apis similar to the auto-texture apis since we may want
to make broad variations to how textures are allocated as part of the
testing running if that might help exercise more code paths.

This patch copies much of the auto-texture functionality into some
slightly more special purpose utilities in test-utils.c/h. Minor changes
include being constrained to the public Cogl api and they also don't
let you catch CoglErrors and just assume they should abort on error.

Reviewed-by: Neil Roberts <neil@linux.intel.com>

(cherry picked from commit 911df79776ce6f695351c15e9872b4f1479d30bf)

Conflicts:
	tests/conform/test-atlas-migration.c
	tests/conform/test-backface-culling.c
	tests/conform/test-blend-strings.c
	tests/conform/test-color-mask.c
	tests/conform/test-just-vertex-shader.c
	tests/conform/test-npot-texture.c
	tests/conform/test-primitive.c
	tests/conform/test-snippets.c
	tests/conform/test-texture-get-set-data.c
	tests/conform/test-texture-mipmap-get-set.c
	tests/conform/test-texture-no-allocate.c
	tests/conform/test-wrap-modes.c
2013-07-29 17:56:07 +01:00
..
Makefile.am Install conformance tests 2013-07-09 22:52:50 +01:00
test-alpha-test.c tests: update inline with master 2013-01-22 17:48:06 +00:00
test-alpha-textures.c Add a conformance test using alpha textures 2013-01-22 17:48:06 +00:00
test-atlas-migration.c tests: stop using cogl-auto-texture apis 2013-07-29 17:56:07 +01:00
test-backface-culling.c tests: stop using cogl-auto-texture apis 2013-07-29 17:56:07 +01:00
test-blend-strings.c tests: stop using cogl-auto-texture apis 2013-07-29 17:56:07 +01:00
test-blend.c conform: Add color attribute based blending test 2013-06-06 21:27:16 +01:00
test-color-hsl.c tests: Add a test for the RGB <-> HSL functions 2013-07-09 22:52:49 +01:00
test-color-mask.c tests: stop using cogl-auto-texture apis 2013-07-29 17:56:07 +01:00
test-conform-main.c tests: Add a test for the RGB <-> HSL functions 2013-07-09 22:52:49 +01:00
test-copy-replace-texture.c Add test to verify replacing a layer doesn't leak the pipeline parent 2013-03-19 17:53:43 +00:00
test-custom-attributes.c tests: Don't report success when the test is skipped 2013-01-22 17:48:06 +00:00
test-depth-test.c Add compiler deprecation warnings 2013-04-24 22:23:50 +01:00
test-euler-quaternion.c tests: update inline with master 2013-01-22 17:48:06 +00:00
test-fence.c Add fence API 2013-05-28 21:36:03 +01:00
test-fixed.c Adds cogl_framebuffer_draw_[*_]rectangle functions 2012-03-20 12:33:40 +00:00
test-fixtures.c Adds cogl_framebuffer_draw_[*_]rectangle functions 2012-03-20 12:33:40 +00:00
test-framebuffer-get-bits.c Add a test for getting the component sizes from different fbs 2013-01-22 17:48:18 +00:00
test-gles2-context.c test-gles2-context: Read pixels using GL_RGBA not GL_RGB 2013-02-08 12:20:33 +00:00
test-just-vertex-shader.c tests: stop using cogl-auto-texture apis 2013-07-29 17:56:07 +01:00
test-layer-remove.c tests: update inline with master 2013-01-22 17:48:06 +00:00
test-map-buffer-range.c Allow propogation of OOM errors to apps 2013-01-22 17:48:07 +00:00
test-materials.c tests: stop using cogl-auto-texture apis 2013-07-29 17:56:07 +01:00
test-multitexture.c tests: stop using cogl-auto-texture apis 2013-07-29 17:56:07 +01:00
test-no-gl-header.c Don't include cogl/cogl.h from test-utils.h 2013-07-04 11:50:31 +01:00
test-npot-texture.c tests: stop using cogl-auto-texture apis 2013-07-29 17:56:07 +01:00
test-object.c Adds cogl_framebuffer_draw_[*_]rectangle functions 2012-03-20 12:33:40 +00:00
test-offscreen.c Add compiler deprecation warnings 2013-04-24 22:23:50 +01:00
test-path.c tests: update inline with master 2013-01-22 17:48:06 +00:00
test-pipeline-cache-unrefs-texture.c Conformance test to check whether the pipeline cache holds textures 2013-04-04 13:37:51 +01:00
test-pipeline-uniforms.c tests: Don't report success when the test is skipped 2013-01-22 17:48:06 +00:00
test-pipeline-user-matrix.c tests: update inline with master 2013-01-22 17:48:06 +00:00
test-pixel-buffer.c Fix handling of binding errors when uploading a full texture 2013-01-22 17:48:09 +00:00
test-point-size-attribute.c Add support for per-vertex point sizes 2013-06-07 16:53:29 +01:00
test-point-size.c tests: update inline with master 2013-01-22 17:48:06 +00:00
test-point-sprite.c tests: update inline with master 2013-01-22 17:48:06 +00:00
test-premult.c tests: update inline with master 2013-01-22 17:48:06 +00:00
test-primitive-and-journal.c Add a test to check interleaving primitives and the journal 2013-02-19 11:06:59 +00:00
test-primitive.c tests: stop using cogl-auto-texture apis 2013-07-29 17:56:07 +01:00
test-read-texture-formats.c tests: update inline with master 2013-01-22 17:48:06 +00:00
test-readpixels.c tests: stop using cogl-auto-texture apis 2013-07-29 17:56:07 +01:00
test-snippets.c tests: stop using cogl-auto-texture apis 2013-07-29 17:56:07 +01:00
test-sparse-pipeline.c tests: update inline with master 2013-01-22 17:48:06 +00:00
test-sub-texture.c tests: update inline with master 2013-01-22 17:48:06 +00:00
test-texture-3d.c tests: Don't report success when the test is skipped 2013-01-22 17:48:06 +00:00
test-texture-get-set-data.c tests: stop using cogl-auto-texture apis 2013-07-29 17:56:07 +01:00
test-texture-mipmaps.c tests: stop using cogl-auto-texture apis 2013-07-29 17:56:07 +01:00
test-texture-no-allocate.c tests: stop using cogl-auto-texture apis 2013-07-29 17:56:07 +01:00
test-texture-pixmap-x11.c Switch use of primitive glib types to c99 equivalents 2012-08-06 14:27:39 +01:00
test-texture-rectangle.c tests: stop using cogl-auto-texture apis 2013-07-29 17:56:07 +01:00
test-version.c Add a cogl-version header 2012-08-06 14:27:40 +01:00
test-vertex-buffer-contiguous.c Switch use of primitive glib types to c99 equivalents 2012-08-06 14:27:39 +01:00
test-vertex-buffer-interleved.c Switch use of primitive glib types to c99 equivalents 2012-08-06 14:27:39 +01:00
test-vertex-buffer-mutability.c Switch use of primitive glib types to c99 equivalents 2012-08-06 14:27:39 +01:00
test-viewport.c tests: stop using cogl-auto-texture apis 2013-07-29 17:56:07 +01:00
test-wrap-modes.c tests: stop using cogl-auto-texture apis 2013-07-29 17:56:07 +01:00
test-wrap-rectangle-textures.c win32: Minor build fixes for building for win32 2013-02-21 15:20:55 +00:00
test-write-texture-formats.c test-write-texture-formats: Add fuzziness to the pixel comparisons 2013-01-22 18:00:11 +00:00