mutter/tests/interactive
Emmanuele Bassi 52811b240f [stage] Coalesce fog and perspective API
The fog and perspective API is currently split in two parts:

  - the floating point version, using values

  - the fixed point version, using structures

The relative properties are using the structure types, since they
are meant to set multiple values at the same time. Instead of
using bare values, the whole API should be coalesced into two
simple calls using structures to match the GObject properties.

Thus:

  clutter_stage_set_fog (ClutterStage*, const ClutterFog*)
  clutter_stage_get_fog (ClutterStage*, ClutterFog*)

  clutter_stage_set_perspective (ClutterStage*, const ClutterPerspective*)
  clutter_stage_get_perspective (ClutterStage*, ClutterPerspective*)

Which supercedes the fixed point and floating point variants.

More importantly, both ClutterFog and ClutterPerspective should
using floating point values, since that's what get passed to
COGL anyway.

ClutterFog should also drop the "density" member, since ClutterStage
only allows linear fog; non-linear fog distribution can be achieved
using a signal handler and calling cogl_set_fog() directly; this keeps
the API compact yet extensible.

Finally, there is no ClutterStage:fog so it should be added.
2009-03-10 12:38:03 +00:00
..
Makefile.am Merge branch 'generic-actor-clone' 2009-01-27 16:14:35 +00:00
test-actor-clone.c Merge branch 'generic-actor-clone' 2009-01-27 16:14:35 +00:00
test-actors.c Merge branch 'generic-actor-clone' 2009-01-27 16:14:35 +00:00
test-animation.c [animation] Implement new easing functions 2009-01-20 17:57:30 +00:00
test-behave.c Clean up of the ClutterColor API 2009-03-10 12:38:02 +00:00
test-binding-pool.c Changes cogl_rectangle to take x1, y1, x2, y2 args not x1, y1, width, height 2009-01-28 17:20:15 +00:00
test-clip.c [Cogl] cogl_clip_{set*,unset} renamed to cogl_clip_{push*,pop} 2009-02-18 16:00:51 +00:00
test-clutter-cairo-flowers.c [tests] Adds a flowery clutter_cairo_texture unit test 2009-01-14 15:25:27 +00:00
test-cogl-multitexture.c Fallout from cogl-material merge 2009-01-27 16:02:04 +00:00
test-cogl-offscreen.c Changes cogl_rectangle to take x1, y1, x2, y2 args not x1, y1, width, height 2009-01-28 17:20:15 +00:00
test-cogl-primitives.c Simplify test-cogl-primitives 2009-01-23 23:55:44 +00:00
test-cogl-tex-convert.c Fully integrates CoglMaterial throughout the rest of Cogl 2009-01-27 14:26:39 +00:00
test-cogl-tex-foreign.c Fully integrates CoglMaterial throughout the rest of Cogl 2009-01-27 14:26:39 +00:00
test-cogl-tex-getset.c Fully integrates CoglMaterial throughout the rest of Cogl 2009-01-27 14:26:39 +00:00
test-cogl-tex-polygon.c Fully integrates CoglMaterial throughout the rest of Cogl 2009-01-27 14:26:39 +00:00
test-cogl-tex-tile.c Merge branch 'cogl-material' 2009-01-27 15:19:34 +00:00
test-depth.c [stage] Coalesce fog and perspective API 2009-03-10 12:38:03 +00:00
test-devices.c Bug 1162 - Re-works the tests/ to use the glib-2.16 unit testing 2008-11-07 19:32:28 +00:00
test-easing.c [animation] Implement new easing functions 2009-01-20 17:57:30 +00:00
test-entry.c Bug 1162 - Re-works the tests/ to use the glib-2.16 unit testing 2008-11-07 19:32:28 +00:00
test-events.c Bug 1162 - Re-works the tests/ to use the glib-2.16 unit testing 2008-11-07 19:32:28 +00:00
test-fbo.c Remove CloneTexture from the API 2009-01-27 15:18:45 +00:00
test-fullscreen.c Bug 1162 - Re-works the tests/ to use the glib-2.16 unit testing 2008-11-07 19:32:28 +00:00
test-grab.c Bug 1162 - Re-works the tests/ to use the glib-2.16 unit testing 2008-11-07 19:32:28 +00:00
test-layout.c Clean up of the ClutterColor API 2009-03-10 12:38:02 +00:00
test-main.c * tests/interactive/test-main.c (main): Allow more than two 2008-11-10 16:30:42 +00:00
test-model.c Bug 1162 - Re-works the tests/ to use the glib-2.16 unit testing 2008-11-07 19:32:28 +00:00
test-multistage.c [alpha] Allow registering alpha functions 2009-01-16 14:37:35 +00:00
test-offscreen.c Bug 1162 - Re-works the tests/ to use the glib-2.16 unit testing 2008-11-07 19:32:28 +00:00
test-paint-wrapper.c Changes cogl_rectangle to take x1, y1, x2, y2 args not x1, y1, width, height 2009-01-28 17:20:15 +00:00
test-perspective.c Bug 1162 - Re-works the tests/ to use the glib-2.16 unit testing 2008-11-07 19:32:28 +00:00
test-pixmap.c [tests] Some improvements for test-pixmap 2009-02-11 13:08:17 +00:00
test-project.c Fix last improper usage of ClutterUnits 2009-01-08 16:00:47 +00:00
test-random-text.c Update the interactive tests to ClutterText 2008-12-11 13:48:01 +00:00
test-rotate.c [text] Rename :alignment to :line-alignment 2009-02-05 19:54:48 +00:00
test-scale.c [animation] Move the alpha value to floating point 2009-01-20 16:42:49 +00:00
test-score.c 2008-11-14 Emmanuele Bassi <ebassi@linux.intel.com> 2008-11-14 14:52:35 +00:00
test-script.c [script] Parse easing modes by name 2009-01-20 18:24:58 +00:00
test-shader.c Update the interactive tests to ClutterText 2008-12-11 13:48:01 +00:00
test-stage-read-pixels.c Update the interactive tests to ClutterText 2008-12-11 13:48:01 +00:00
test-text-field.c [tests] Update the text-field interactive test 2009-02-02 12:07:28 +00:00
test-text.c [tests] Update the ClutterText interactive test 2009-01-07 15:54:08 +00:00
test-texture-quality.c [stage] Coalesce fog and perspective API 2009-03-10 12:38:03 +00:00
test-textures.c Bug 1162 - Re-works the tests/ to use the glib-2.16 unit testing 2008-11-07 19:32:28 +00:00
test-threads.c [alpha] Allow registering alpha functions 2009-01-16 14:37:35 +00:00
test-unproject.c Merge the ClutterText actor 2009-01-07 12:06:33 +00:00
test-viewport.c [alpha] Allow registering alpha functions 2009-01-16 14:37:35 +00:00
wrapper.sh Bug 1162 - Re-works the tests/ to use the glib-2.16 unit testing 2008-11-07 19:32:28 +00:00