3014d4ff8a
Okey; to summarise the changes... We have converted Clutter and Cogl over to using floating point internally instead of 16.16 fixed, but we have maintained the cogl-fixed API as a utility to applications in case they want to implement their own optimizations. The Clutter API has not changed (though ClutterFixed and ClutterUnit are now internally floats) but all Cogl entry points have been changed to accept floats now instead of CoglFixed. To summarise the rationale... There have been a number of issues with using fixed point though out Clutter and Cogl including: lack of precision, lack of range, excessive format conversion (GPUs tend to work nativly with IEEE floats) and maintainability. One of the main arguments for fixed point - performance - hasn't shown itself to be serious in practice so far since we seem to be more limited by GPU performance and making improvements regarding how we submit data to OpenGL[ES]/the GPU has had a more significant impact. Ref: The recent multiple rectangle queuing changes + the cogl-texture-agressive-batching branch which show significant performance gains, and that recent tests on the ipodtouch (ARM + MBX) also showed no loss of performance running with floats. So finally; please forgive the inevitable fallout, this is a far reaching change. There are still a few known issues with the fixed to float conversion but enough works for all our conformance tests to pass, and the remaining issues hopefully wont be too tricky to solve. For reference two tags will be available either side of this change: "cogl-fixed-end" and "cogl-float-start" |
||
---|---|---|
.. | ||
cogl | ||
eglnative | ||
eglx | ||
fruity | ||
glx | ||
json | ||
osx | ||
pango | ||
sdl | ||
win32 | ||
x11 | ||
clutter-actor.c | ||
clutter-actor.h | ||
clutter-alpha.c | ||
clutter-alpha.h | ||
clutter-animatable.c | ||
clutter-animatable.h | ||
clutter-animation.c | ||
clutter-animation.h | ||
clutter-backend.c | ||
clutter-backend.h | ||
clutter-behaviour-depth.c | ||
clutter-behaviour-depth.h | ||
clutter-behaviour-ellipse.c | ||
clutter-behaviour-ellipse.h | ||
clutter-behaviour-opacity.c | ||
clutter-behaviour-opacity.h | ||
clutter-behaviour-path.c | ||
clutter-behaviour-path.h | ||
clutter-behaviour-rotate.c | ||
clutter-behaviour-rotate.h | ||
clutter-behaviour-scale.c | ||
clutter-behaviour-scale.h | ||
clutter-behaviour.c | ||
clutter-behaviour.h | ||
clutter-bezier.c | ||
clutter-bezier.h | ||
clutter-binding-pool.c | ||
clutter-binding-pool.h | ||
clutter-cairo-texture.c | ||
clutter-cairo-texture.h | ||
clutter-child-meta.c | ||
clutter-child-meta.h | ||
clutter-clone-texture.c | ||
clutter-clone-texture.h | ||
clutter-color.c | ||
clutter-color.h | ||
clutter-container.c | ||
clutter-container.h | ||
clutter-debug.h | ||
clutter-deprecated.h | ||
clutter-enum-types.c.in | ||
clutter-enum-types.h.in | ||
clutter-event.c | ||
clutter-event.h | ||
clutter-feature.c | ||
clutter-feature.h | ||
clutter-fixed.c | ||
clutter-fixed.h | ||
clutter-frame-source.c | ||
clutter-frame-source.h | ||
clutter-group.c | ||
clutter-group.h | ||
clutter-id-pool.c | ||
clutter-id-pool.h | ||
clutter-interval.c | ||
clutter-interval.h | ||
clutter-json.h.in | ||
clutter-keysyms-table.h | ||
clutter-keysyms.h | ||
clutter-list-model.c | ||
clutter-list-model.h | ||
clutter-main.c | ||
clutter-main.h | ||
clutter-marshal.list | ||
clutter-media.c | ||
clutter-media.h | ||
clutter-model-private.h | ||
clutter-model.c | ||
clutter-model.h | ||
clutter-path.c | ||
clutter-path.h | ||
clutter-private.h | ||
clutter-rectangle.c | ||
clutter-rectangle.h | ||
clutter-score.c | ||
clutter-score.h | ||
clutter-script-parser.c | ||
clutter-script-private.h | ||
clutter-script.c | ||
clutter-script.h | ||
clutter-scriptable.c | ||
clutter-scriptable.h | ||
clutter-shader-types.c | ||
clutter-shader-types.h | ||
clutter-shader.c | ||
clutter-shader.h | ||
clutter-stage-manager.c | ||
clutter-stage-manager.h | ||
clutter-stage-window.c | ||
clutter-stage-window.h | ||
clutter-stage.c | ||
clutter-stage.h | ||
clutter-text.c | ||
clutter-text.h | ||
clutter-texture.c | ||
clutter-texture.h | ||
clutter-timeline.c | ||
clutter-timeline.h | ||
clutter-timeout-pool.c | ||
clutter-timeout-pool.h | ||
clutter-types.h | ||
clutter-units.c | ||
clutter-units.h | ||
clutter-util.c | ||
clutter-util.h | ||
clutter-version.h.in | ||
clutter.h | ||
Makefile.am |