mutter/tests/conform
Robert Bragg af7398788a remove internal_format and redundant error arguments
Texture allocation is now consistently handled lazily such that the
internal format can now be controlled using
cogl_texture_set_components() and cogl_texture_set_premultiplied()
before allocating the texture with cogl_texture_allocate(). This means
that the internal_format arguments to texture constructors are now
redundant and since most of the texture constructors now can't ever fail
the error arguments are also redundant. This now means we no longer
use CoglPixelFormat in the public api for describing the internal format
of textures which had been bad solution originally due to how specific
CoglPixelFormat is which is missleading when we don't support such
explicit control over the internal format.

Reviewed-by: Neil Roberts <neil@linux.intel.com>
(cherry picked from commit 99a53c82e9ab0a1e5ee35941bf83dc334b1fbe87)

Note: there are numerous API changes for functions currently marked
as 'unstable' which we don't think are in use by anyone depending on
a stable 1.x api. Compared to the original patch though this avoids
changing the cogl_texture_rectangle_new_with_size() api which we know
is used by Mutter.
2014-01-09 15:49:47 +00:00
..
Makefile.am Add a test for cogl_framebuffer_push_path_clip 2013-12-03 15:28:24 +00:00
test-alpha-test.c remove internal_format and redundant error arguments 2014-01-09 15:49:47 +00:00
test-alpha-textures.c remove internal_format and redundant error arguments 2014-01-09 15:49:47 +00:00
test-atlas-migration.c remove internal_format and redundant error arguments 2014-01-09 15:49:47 +00:00
test-backface-culling.c remove internal_format and redundant error arguments 2014-01-09 15:49:47 +00:00
test-blend-strings.c remove internal_format and redundant error arguments 2014-01-09 15:49:47 +00:00
test-blend.c Add _primitive_draw to replace _framebuffer_draw_primitive 2013-07-29 18:31:36 +01:00
test-color-hsl.c Declare interface types as void and remove cast macros 2013-11-27 19:33:44 +00:00
test-color-mask.c remove internal_format and redundant error arguments 2014-01-09 15:49:47 +00:00
test-conform-main.c Fix calculating the bounds when clipping from a primitive 2013-12-03 15:28:35 +00:00
test-copy-replace-texture.c remove internal_format and redundant error arguments 2014-01-09 15:49:47 +00:00
test-custom-attributes.c gl: bind position attribute to location 0 2013-08-19 22:44:45 +01:00
test-depth-test.c Add API to control per-framebuffer depth writing 2013-10-28 16:34:58 +00:00
test-euler-quaternion.c tests: update inline with master 2013-01-22 17:48:06 +00:00
test-fence.c Declare interface types as void and remove cast macros 2013-11-27 19:33:44 +00: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 remove internal_format and redundant error arguments 2014-01-09 15:49:47 +00:00
test-gles2-context.c remove internal_format and redundant error arguments 2014-01-09 15:49:47 +00:00
test-just-vertex-shader.c remove internal_format and redundant error arguments 2014-01-09 15:49:47 +00:00
test-layer-remove.c tests: update inline with master 2013-01-22 17:48:06 +00:00
test-map-buffer-range.c remove internal_format and redundant error arguments 2014-01-09 15:49:47 +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 remove internal_format and redundant error arguments 2014-01-09 15:49:47 +00:00
test-object.c Adds cogl_framebuffer_draw_[*_]rectangle functions 2012-03-20 12:33:40 +00:00
test-offscreen.c remove internal_format and redundant error arguments 2014-01-09 15:49:47 +00:00
test-path-clip.c Add a test for cogl_framebuffer_push_path_clip 2013-12-03 15:28:24 +00:00
test-path.c Separate out CoglPath api into sub-library 2013-08-19 22:44:35 +01:00
test-pipeline-cache-unrefs-texture.c remove internal_format and redundant error arguments 2014-01-09 15:49:47 +00:00
test-pipeline-shader-state.c remove internal_format and redundant error arguments 2014-01-09 15:49:47 +00: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 remove internal_format and redundant error arguments 2014-01-09 15:49:47 +00:00
test-point-size-attribute.c Add _primitive_draw to replace _framebuffer_draw_primitive 2013-07-29 18:31:36 +01:00
test-point-size.c Add _primitive_draw to replace _framebuffer_draw_primitive 2013-07-29 18:31:36 +01:00
test-point-sprite.c remove internal_format and redundant error arguments 2014-01-09 15:49:47 +00:00
test-premult.c remove internal_format and redundant error arguments 2014-01-09 15:49:47 +00:00
test-primitive-and-journal.c Add _primitive_draw to replace _framebuffer_draw_primitive 2013-07-29 18:31:36 +01:00
test-primitive.c remove internal_format and redundant error arguments 2014-01-09 15:49:47 +00:00
test-read-texture-formats.c remove internal_format and redundant error arguments 2014-01-09 15:49:47 +00:00
test-readpixels.c offscreen: rename _new_to_texture to _new_with_texture 2013-08-19 22:44:44 +01:00
test-snippets.c remove internal_format and redundant error arguments 2014-01-09 15:49:47 +00:00
test-sparse-pipeline.c tests: update inline with master 2013-01-22 17:48:06 +00:00
test-sub-texture.c remove internal_format and redundant error arguments 2014-01-09 15:49:47 +00:00
test-texture-3d.c remove internal_format and redundant error arguments 2014-01-09 15:49:47 +00:00
test-texture-get-set-data.c remove internal_format and redundant error arguments 2014-01-09 15:49:47 +00: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 remove internal_format and redundant error arguments 2014-01-09 15:49:47 +00: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 Declare interface types as void and remove cast macros 2013-11-27 19:33:44 +00: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 offscreen: rename _new_to_texture to _new_with_texture 2013-08-19 22:44:44 +01:00
test-wrap-modes.c remove internal_format and redundant error arguments 2014-01-09 15:49:47 +00:00
test-wrap-rectangle-textures.c remove internal_format and redundant error arguments 2014-01-09 15:49:47 +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