mutter/tests/conform
Robert Bragg 41579eb3c9 [test-premult] Adds a unit test for texture upload premultiplication semantics
cogl_texture_new_from_data lets you specify a source format for the users given
data, and an internal format which the user wants the GPU to see. This unit
test verifies that the users data is premultiplied, un-premultiplied or
left alone for a number of (source format, internal format) pairs.

cogl_texture_set_region allows specifying a source format, and the internal
format is determined from the texture being updated. As above we test
a number of format pairs and check Cogl is converting data correctly.

The test verifies that if the user allows COGL_FORMAT_ANY for the
internal_format then by default Cogl will choose a premultipled format for
RGBA textures.

Note: Currently this only tests cogl_texture_new_from_data and
cogl_texture_set_region, we should also test cogl_texture_new_from_file,
cogl_texture_new_from_bitmap and cogl_texture_new_from_foreign.
2009-06-11 14:17:53 +01:00
..
ADDING_NEW_TESTS * tests/conform/ADDING_NEW_TESTS 2008-11-10 18:52:50 +00:00
Makefile.am [test-premult] Adds a unit test for texture upload premultiplication semantics 2009-06-11 14:17:53 +01:00
test-actor-invariants.c Enforce invariants on mapped, realized, visibility states 2009-04-24 15:27:19 +01:00
test-anchors.c Remove usage of Units and macros 2009-06-04 16:30:30 +01:00
test-backface-culling.c [cogl] Move the texture filters to be a property of the material layer 2009-06-04 19:03:40 +01:00
test-binding-pool.c Remove usage of Units and macros 2009-06-04 16:30:30 +01:00
test-blend-strings.c [test-blend-strings] Explicitly request RGBA_888 tex format for test textures 2009-06-11 14:17:53 +01:00
test-clutter-fixed.c [tests] Test CoglFixed, not ClutterFixed 2009-03-10 12:38:03 +00:00
test-clutter-rectangle.c Bug 1162 - Re-works the tests/ to use the glib-2.16 unit testing 2008-11-07 19:32:28 +00:00
test-clutter-text.c [tests] Add unit for the ClutterText:password-char property 2009-01-06 15:30:31 +00:00
test-clutter-units.c [units] Rework Units into logical distance value 2009-06-04 16:30:31 +01:00
test-color.c [tests] Add ClutterColor conformance tests 2009-06-01 18:43:47 +01:00
test-conform-common.c * tests/conform/ADDING_NEW_TESTS 2008-11-10 18:52:50 +00:00
test-conform-common.h Bug 1162 - Re-works the tests/ to use the glib-2.16 unit testing 2008-11-07 19:32:28 +00:00
test-conform-main.c [test-premult] Adds a unit test for texture upload premultiplication semantics 2009-06-11 14:17:53 +01:00
test-launcher.sh [tests] Ensure that test-launcher.sh is found for out of tree builds 2008-12-21 14:07:22 +00:00
test-model.c [tests] Exercise the Model filtering 2009-04-29 15:39:23 +01:00
test-npot-texture.c [cogl] Remove max_waste argument from Texture ctors 2009-05-23 19:35:19 +01:00
test-paint-opacity.c Update the paint opacity unit test 2008-12-11 12:26:47 +00:00
test-path.c Merge branch 'cairo-texture' 2008-12-19 16:44:40 +00:00
test-pick.c Allow passing the pick mode to get_actor_at_pos() 2009-04-24 15:25:58 +01:00
test-premult.c [test-premult] Adds a unit test for texture upload premultiplication semantics 2009-06-11 14:17:53 +01:00
test-text-cache.c [ClutterText] Fix actors with a width but no wrapping and the wrap modes 2009-04-27 17:43:48 +01:00
test-timeline-interpolate.c [timeline] Remove the concept of frames from timelines 2009-06-04 13:21:57 +01:00
test-timeline-rewind.c [timeline] Remove the concept of frames from timelines 2009-06-04 13:21:57 +01:00
test-timeline.c [tests] Clarify the numbers 2009-06-08 10:59:22 +01:00
test-vertex-buffer-contiguous.c [cogl] Remove max_waste argument from Texture ctors 2009-05-23 19:35:19 +01:00
test-vertex-buffer-interleved.c [cogl-handle] Optimize how we define cogl handles 2009-04-02 11:58:43 +01:00
test-vertex-buffer-mutability.c [cogl-handle] Optimize how we define cogl handles 2009-04-02 11:58:43 +01:00