mutter/tests/conform
Emmanuele Bassi 4546f84408 timeline: Add support for step() progress
The CSS3 Transitions specification from the W3C defines the possibility
of using a parametrized step() timing function, with the following
prototype:

        steps(n_steps, [ start | end ])

where @n_steps represents the number of steps used to divide an interval
between 0 and 1; the 'start' and 'end' tokens describe whether the value
change should happen at the start of the transition, or at the end.

For instance, the "steps(3, start)" timing function has the following
profile:

  1 |           x
    |           |
    |       x---|
    |       '   |
    |   x---'   |
    |   '       |
  0 |---'       |

Whereas the "steps(3, end)" timing function has the following profile:

  1 |       x---|
    |       '   |
    |   x---'   |
    |   '       |
    x---'       |
    |           |
  0 |           |

Since ClutterTimeline uses an enumeration for controlling the progress
mode, we need additional API to define the parameters of the steps()
progress; for this reason, we need a CLUTTER_STEPS enumeration value,
and a method for setting the number of steps and the value transition
policy.

The CSS3 Transitions spec helpfully also defines a step-start and a
step-end shorthands, which expand to step(1, start) and step(1, end)
respectively; we can provide a CLUTTER_STEP_START and CLUTTER_STEP_END
enumeration values for those.
2012-07-19 20:47:00 -04:00
..
actor-anchors.c conform/anchors: Fix a dubious test 2012-03-19 14:47:55 +00:00
actor-destroy.c conformance: Rename the source files 2012-02-27 13:02:01 +00:00
actor-graph.c conform/actor-graph: Add missing NULL terminator 2012-05-01 13:30:27 +01:00
actor-invariants.c conformance/invariants: Test that visibility is not recursive 2012-03-05 17:45:23 +00:00
actor-iter.c actor: Add ActorIter.is_valid() 2012-06-27 21:28:01 +01:00
actor-layout.c conformance: Clean up 2012-02-27 13:08:31 +00:00
actor-offscreen-redirect.c conformance: Clean up 2012-02-27 13:08:31 +00:00
actor-paint-opacity.c conformance: Rename the source files 2012-02-27 13:02:01 +00:00
actor-pick.c conformance: Clean up 2012-02-27 13:08:31 +00:00
actor-shader-effect.c conformance: Clean up 2012-02-27 13:08:31 +00:00
actor-size.c conformance: Rename the source files 2012-02-27 13:02:01 +00:00
ADDING_NEW_TESTS conform: Implement TEST_CONFORM_TODO() correctly 2010-10-12 17:11:52 +01:00
animator.c conformance: Rename the source files 2012-02-27 13:02:01 +00:00
behaviours.c conformance: Rename the source files 2012-02-27 13:02:01 +00:00
binding-pool.c conformance: Rename the source files 2012-02-27 13:02:01 +00:00
cairo-texture.c conformance: Rename the source files 2012-02-27 13:02:01 +00:00
cally-text.c conformance: Rename the source files 2012-02-27 13:02:01 +00:00
color.c conformance: Rename the source files 2012-02-27 13:02:01 +00:00
events-touch.c tests: Make sure we return 0 only on error 2012-06-14 11:17:05 +02:00
group.c conformance: Rename the source files 2012-02-27 13:02:01 +00:00
interval.c conform/interval: Add transformation unit test 2012-06-18 18:04:54 +01:00
Makefile.am timeline: Add support for step() progress 2012-07-19 20:47:00 -04:00
model.c conformance: Rename the source files 2012-02-27 13:02:01 +00:00
path.c path: Avoid integer overflow in get_distance() 2012-04-27 12:28:49 +01:00
rectangle.c conformance: Rename the source files 2012-02-27 13:02:01 +00:00
run-tests.sh conform: Set harsher environment for running tests 2012-03-20 16:19:23 +00:00
score.c conformance: Rename the source files 2012-02-27 13:02:01 +00:00
script-parser.c conform/script: Add the return type for the margin test 2012-06-20 18:58:31 +01:00
state.c conformance: Rename the source files 2012-02-27 13:02:01 +00:00
test-cogl-atlas-migration.c Add a conformance test for atlas migration 2011-02-24 20:45:30 +00:00
test-cogl-fixed.c
test-cogl-materials.c Don't use any GL types or defines in Clutter 2012-03-23 17:24:42 +00:00
test-cogl-multitexture.c tests/*: Use symbolic constants for sources and events 2012-01-25 23:20:25 +00:00
test-cogl-npot-texture.c tests/*: Use symbolic constants for sources and events 2012-01-25 23:20:25 +00:00
test-cogl-object.c
test-cogl-premult.c Don't use any GL types or defines in Clutter 2012-03-23 17:24:42 +00:00
test-cogl-readpixels.c conform/*: Do not use clutter_stage_get_default() 2011-11-10 15:37:50 +00:00
test-cogl-texture-get-set-data.c conform/*: Do not use clutter_stage_get_default() 2011-11-10 15:37:50 +00:00
test-cogl-texture-mipmaps.c conform/*: Do not use clutter_stage_get_default() 2011-11-10 15:37:50 +00:00
test-cogl-texture-pixmap-x11.c Pass context to cogl_texture_pixmap_x11_new() api 2012-02-21 17:46:11 +00:00
test-cogl-texture-rectangle.c Don't use any GL types or defines in Clutter 2012-03-23 17:24:42 +00:00
test-cogl-vertex-buffer-contiguous.c Don't use any GL types or defines in Clutter 2012-03-23 17:24:42 +00:00
test-cogl-vertex-buffer-interleved.c Don't use any GL types or defines in Clutter 2012-03-23 17:24:42 +00:00
test-cogl-vertex-buffer-mutability.c Don't use any GL types or defines in Clutter 2012-03-23 17:24:42 +00:00
test-cogl-viewport.c conform/*: Do not use clutter_stage_get_default() 2011-11-10 15:37:50 +00:00
test-conform-common.c conform: Put xinput enabling under guards 2012-06-20 08:53:46 +01:00
test-conform-common.h Don't use any GL types or defines in Clutter 2012-03-23 17:24:42 +00:00
test-conform-main.c timeline: Add support for step() progress 2012-07-19 20:47:00 -04:00
test-launcher.sh.in build: Allow to run the tests from any directory 2010-07-06 12:39:15 +01:00
text-cache.c conform/text-cache: Use the stage paint signal 2012-03-16 12:33:37 +00:00
text.c conformance: Rename the source files 2012-02-27 13:02:01 +00:00
texture-fbo.c conformance: Rename the source files 2012-02-27 13:02:01 +00:00
texture.c conformance: Rename the source files 2012-02-27 13:02:01 +00:00
timeline-interpolate.c conformance: Rename the source files 2012-02-27 13:02:01 +00:00
timeline-progress.c timeline: Add support for step() progress 2012-07-19 20:47:00 -04:00
timeline-rewind.c conformance: Rename the source files 2012-02-27 13:02:01 +00:00
timeline.c conformance: Rename the source files 2012-02-27 13:02:01 +00:00
units.c conformance: Rename the source files 2012-02-27 13:02:01 +00:00