mutter/clutter
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
..
cogl [cogl-fixed] Implement the CoglFixed fundamental GType 2009-03-10 12:38:03 +00:00
eglnative Set the mapped flag on the stage in the SDL and eglnative backends 2009-03-09 18:53:31 +00:00
eglx Emit CLUTTER_LEAVE events when the pointer leaves the stage 2009-02-16 12:46:36 +00:00
fruity
glx Use COGL to establish GL state for ClutterGLXTexturePixmap 2009-03-09 15:42:23 +00:00
json [build] Various fixes for distcheck 2009-03-10 12:38:02 +00:00
osx
pango [cogl] Add a PANGO debug flag for CoglPango use 2009-03-10 12:38:02 +00:00
sdl Set the mapped flag on the stage in the SDL and eglnative backends 2009-03-09 18:53:31 +00:00
win32 Typo in clutter-win32.pc.in introduced by commit 24ce19383 2009-03-10 12:16:53 +00:00
x11 Bug 1491 - Fix hardcoded lib path in .pc files 2009-03-09 10:45:09 +00:00
clutter-actor.c [actor] Remove usage of ClutterFixed 2009-02-23 13:00:52 +00:00
clutter-actor.h Add Actor::create_pango_layout() 2009-02-02 12:07:28 +00:00
clutter-alpha.c Add gobject-introspection annotations 2009-02-20 12:09:07 +00:00
clutter-alpha.h Merge branch 'cogl-float' 2009-01-20 18:47:50 +00:00
clutter-animatable.c Add license notice to ClutterAnimation files 2009-01-08 13:18:00 +00:00
clutter-animatable.h Add license notice to ClutterAnimation files 2009-01-08 13:18:00 +00:00
clutter-animation.c [docs] Clarify clutter_actor_animate() behaviour 2009-03-10 12:38:02 +00:00
clutter-animation.h Remove AnimationMode from the Animation API 2009-01-16 14:37:42 +00:00
clutter-backend.c [backend] Constify font options 2009-02-26 15:32:48 +00:00
clutter-backend.h [backend] Constify font options 2009-02-26 15:32:48 +00:00
clutter-behaviour-depth.c Fix compiler warnings 2009-01-23 13:08:46 +00:00
clutter-behaviour-depth.h
clutter-behaviour-ellipse.c Move ClutterBehaviourEllipse to CoglFixed 2009-03-10 12:38:03 +00:00
clutter-behaviour-ellipse.h Move ClutterBehaviourEllipse to CoglFixed 2009-03-10 12:38:03 +00:00
clutter-behaviour-opacity.c [animation] Move the alpha value to floating point 2009-01-20 16:42:49 +00:00
clutter-behaviour-opacity.h
clutter-behaviour-path.c Add gobject-introspection annotations 2009-02-20 12:09:07 +00:00
clutter-behaviour-path.h
clutter-behaviour-rotate.c Move ClutterBehaviourRotate to CoglFixed 2009-03-10 12:38:03 +00:00
clutter-behaviour-rotate.h Move ClutterBehaviourRotate to CoglFixed 2009-03-10 12:38:03 +00:00
clutter-behaviour-scale.c Move BehaviourScale to CoglFixed 2009-03-10 12:38:03 +00:00
clutter-behaviour-scale.h Move BehaviourScale to CoglFixed 2009-03-10 12:38:03 +00:00
clutter-behaviour.c Add gobject-introspection annotations 2009-02-20 12:09:07 +00:00
clutter-behaviour.h [animation] Move the alpha value to floating point 2009-01-20 16:42:49 +00:00
clutter-bezier.c [Automatic fixed-to-float.sh change] Applies a number fixed to float patches 2009-01-20 16:20:54 +00:00
clutter-bezier.h
clutter-binding-pool.c Add gobject-introspection annotations 2009-02-20 12:09:07 +00:00
clutter-binding-pool.h Add declaration of clutter_binding_pool_get_type() 2009-01-14 15:03:30 +00:00
clutter-cairo-texture.c [docs] Documentation fixes for CairoTexture 2008-12-19 17:48:30 +00:00
clutter-cairo-texture.h [docs] Documentation warnings 2009-01-09 14:26:35 +00:00
clutter-child-meta.c Add gobject-introspection annotations 2009-02-20 12:09:07 +00:00
clutter-child-meta.h
clutter-clone.c Add gobject-introspection annotations 2009-02-20 12:09:07 +00:00
clutter-clone.h Rename ActorClone to Clone/2 2009-01-27 14:24:31 +00:00
clutter-color.c Clean up of the ClutterColor API 2009-03-10 12:38:02 +00:00
clutter-color.h Clean up of the ClutterColor API 2009-03-10 12:38:02 +00:00
clutter-container.c Add gobject-introspection annotations 2009-02-20 12:09:07 +00:00
clutter-container.h
clutter-debug.h
clutter-deprecated.h Clean up of the ClutterColor API 2009-03-10 12:38:02 +00:00
clutter-enum-types.c.in
clutter-enum-types.h.in
clutter-event.c Add gobject-introspection annotations 2009-02-20 12:09:07 +00:00
clutter-event.h Bug 1440 - Add clutter_get_current_event_time() 2009-02-14 11:38:16 +00:00
clutter-feature.c
clutter-feature.h
clutter-fixed.c [Automatic fixed-to-float.sh change] Applies a number fixed to float patches 2009-01-20 16:20:54 +00:00
clutter-fixed.h [Automatic fixed-to-float.sh change] Hand coded changes for clutter-{fixed,units} 2009-01-20 16:20:55 +00:00
clutter-frame-source.c
clutter-frame-source.h
clutter-group.c Add gobject-introspection annotations 2009-02-20 12:09:07 +00:00
clutter-group.h
clutter-id-pool.c
clutter-id-pool.h
clutter-interval.c [interval] Update fixed-point handling 2009-03-10 12:38:03 +00:00
clutter-interval.h [animation] Allow registering custom progress function 2009-01-08 11:15:09 +00:00
clutter-json.h.in
clutter-keysyms-table.h
clutter-keysyms.h
clutter-list-model.c [list-model] Make ClutterListModel subclassable 2009-02-14 11:31:00 +00:00
clutter-list-model.h [list-model] Make ClutterListModel subclassable 2009-02-14 11:31:00 +00:00
clutter-main.c [stage] Coalesce fog and perspective API 2009-03-10 12:38:03 +00:00
clutter-main.h Replace clutter_set_use_mipmapped_text with clutter_set_font_flags 2009-01-27 14:43:44 +00:00
clutter-marshal.list [animation] Move the alpha value to floating point 2009-01-20 16:42:49 +00:00
clutter-media.c [media] Add sub-second resolution for the duration 2009-02-24 16:22:02 +00:00
clutter-media.h [media] Add sub-second resolution for the duration 2009-02-24 16:22:02 +00:00
clutter-model-private.h
clutter-model.c Add gobject-introspection annotations 2009-02-20 12:09:07 +00:00
clutter-model.h
clutter-path.c Add gobject-introspection annotations 2009-02-20 12:09:07 +00:00
clutter-path.h [build] Replaces use of #include <cairo/cairo.h> with #include <cairo.h> 2008-12-21 21:52:50 +00:00
clutter-private.h Bug 1440 - Add clutter_get_current_event_time() 2009-02-14 11:38:16 +00:00
clutter-rectangle.c Changes cogl_rectangle to take x1, y1, x2, y2 args not x1, y1, width, height 2009-01-28 17:20:15 +00:00
clutter-rectangle.h
clutter-score.c Add gobject-introspection annotations 2009-02-20 12:09:07 +00:00
clutter-score.h
clutter-script-parser.c
clutter-script-private.h
clutter-script.c Clean up of the ClutterColor API 2009-03-10 12:38:02 +00:00
clutter-script.h
clutter-scriptable.c Intern the ClutterScriptable type name 2009-02-26 14:57:58 +00:00
clutter-scriptable.h 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +00:00
clutter-shader-types.c Add gobject-introspection annotations 2009-02-20 12:09:07 +00:00
clutter-shader-types.h Do not use GL types in Clutter headers 2009-02-20 11:47:14 +00:00
clutter-shader.c [shader] Unify code paths 2009-03-10 12:38:02 +00:00
clutter-shader.h
clutter-stage-manager.c Add gobject-introspection annotations 2009-02-20 12:09:07 +00:00
clutter-stage-manager.h
clutter-stage-window.c
clutter-stage-window.h
clutter-stage.c [stage] Coalesce fog and perspective API 2009-03-10 12:38:03 +00:00
clutter-stage.h [stage] Coalesce fog and perspective API 2009-03-10 12:38:03 +00:00
clutter-text.c Add gobject-introspection annotations 2009-02-20 12:09:07 +00:00
clutter-text.h Remove redundant declaration in clutter-text.h 2009-02-26 12:49:50 +00:00
clutter-texture.c [stage] Coalesce fog and perspective API 2009-03-10 12:38:03 +00:00
clutter-texture.h Remove type functions for removed types 2009-02-19 15:00:23 +00:00
clutter-timeline.c Move ClutterTimeline to CoglFixed 2009-03-10 12:38:03 +00:00
clutter-timeline.h Move ClutterTimeline to CoglFixed 2009-03-10 12:38:03 +00:00
clutter-timeout-pool.c
clutter-timeout-pool.h
clutter-types.h Replace clutter_set_use_mipmapped_text with clutter_set_font_flags 2009-01-27 14:43:44 +00:00
clutter-units.c [units] Fix Units in GValue and ClutterParamSpecUnit 2009-01-22 12:11:25 +00:00
clutter-units.h Add units-from-em conversion 2009-01-21 17:35:47 +00:00
clutter-util.c
clutter-util.h
clutter-version.h.in
clutter.h Remove CloneTexture from the API 2009-01-27 15:18:45 +00:00
Makefile.am [build] Various fixes for distcheck 2009-03-10 12:38:02 +00:00