Tomas Frydrych
3b07be19ba
2007-11-06 Tomas Frydrych <tf@o-hand.com>
...
* clutter/clutter-fixed.h:
Added CLUTTER_SQRTI_ARG_MAX, CLUTTER_SQRTI_5_PERCENT,
CLUTTER_SQRTI_10_PERCENT expressing clutter_sqrti limits.
Stripped trailing whitespace.
* clutter/clutter-fixed.c:
(clutter_sqrti):
Updated documentation, stripped trailing whitespace.
* clutter/clutter-behaviour-path.c:
(node_distance):
Use clib sqrt if clutter_sqrti() precission would be worse than
10%.
Stripped trailing whitespace.
2007-11-06 15:46:23 +00:00
Tomas Frydrych
174bd04b49
2007-10-12 Tomas Frydrych <tf@o-hand.com>
...
Portability fixes:
* clutter/clutter-private.h:
Bracket #include "unistd.h" with #ifdef HAVE_UNISTD_H
* clutter/clutter-fixed.c:
Use "", not <> for inclusion of local files.
(clutter_sqrtx): forward declare local variables.
* clutter/clutter-debug.h:
Added non-gcc (c99) implementation of variadic debug macros for
when not compiling with gcc.
* clutter/pango/pangoclutter-render.c:
Fixed some strange uses of CLUTTER_NOTE() + stripped trailing
whitespace.
2007-10-12 09:39:41 +00:00
Tomas Frydrych
abd6832dd9
2007-10-12 Tomas Frydrych <tf@o-hand.com>
...
* clutter/clutter-actor.c:
* clutter/clutter-backend.c:
* clutter/clutter-behaviour-depth.c:
* clutter/clutter-box.c:
* clutter/clutter-clone-texture.c:
* clutter/clutter-container.c:
* clutter/clutter-entry.c:
* clutter/clutter-feature.c:
* clutter/clutter-fixed.c:
* clutter/clutter-group.c:
* clutter/clutter-hbox.c:
* clutter/clutter-label.c:
* clutter/clutter-layout.c:
* clutter/clutter-media.c:
* clutter/clutter-rectangle.c:
* clutter/clutter-score.c:
* clutter/clutter-script.c:
* clutter/clutter-stage.c:
* clutter/clutter-texture.c:
* clutter/clutter-timeline.c:
* clutter/clutter-timeout-pool.c:
* clutter/clutter-vbox.c:
* clutter/cogl/gl/cogl.c:
* clutter/cogl/gles/cogl.c:
* clutter/eglnative/clutter-backend-egl.c:
* clutter/eglnative/clutter-event-egl.c:
* clutter/eglnative/clutter-stage-egl.c:
* clutter/eglx/clutter-backend-egl.c:
* clutter/eglx/clutter-event-egl.c:
* clutter/eglx/clutter-stage-egl.c:
* clutter/glx/clutter-event-glx.c:
* clutter/json/json-array.c:
* clutter/json/json-generator.c:
* clutter/json/json-node.c:
* clutter/json/json-object.c:
* clutter/json/json-parser.c:
* clutter/sdl/clutter-backend-sdl.c:
* clutter/sdl/clutter-event-sdl.c:
* clutter/sdl/clutter-stage-sdl.c:
Fixedup config.h inclusion (must always be bracketed with #ifdef
HAVE_CONFIG_H).
2007-10-12 08:17:00 +00:00
Emmanuele Bassi
4189c66a21
2007-10-01 Emmanuele Bassi <ebassi@openedhand.com>
...
* clutter/clutter-fixed.h: Add CLUTTER_FIXED_TO_INT() and
deprecate CLUTTER_FIXED_INT(), for symmetry with
CLUTTER_FIXED_FROM_INT().
* clutter/clutter-alpha.c:
* clutter/clutter-behaviour-depth.c:
* clutter/clutter-behaviour-ellipse.c:
* clutter/clutter-behaviour-path.c:
* clutter/clutter-fixed.h: Use CLUTTER_FIXED_TO_INT().
2007-10-02 14:53:32 +00:00
Tomas Frydrych
b1c040ce19
Fixes for 64-bit platforms; use of SSE builtin when available (patches by Gwenole Beauchesne).
2007-08-21 09:25:09 +00:00
Emmanuele Bassi
fffdeb64c7
Do not mask the y1 symbol exported by math.h
...
Do you ever wonder what would happen if glibc were a serious library
and not the joke it actually is?
2007-08-07 14:12:58 +00:00
Matthew Allum
363faccfd5
2007-08-07 Matthew Allum <mallum@openedhand.com>
...
* clutter/clutter-fixed.c:
* clutter/clutter-fixed.h:
Add documentation.
* clutter/cogl/gl/cogl.c: (cogl_perspective):
Remove CFX_* shortened macros
2007-08-07 11:35:22 +00:00
Tomas Frydrych
5b92cc21cb
fixed endianness issue in fast fp conversions
2007-07-25 18:34:05 +00:00
Tomas Frydrych
2c97bdf456
added --disable-fast-fp-converions configure option
2007-07-25 18:17:13 +00:00
Tomas Frydrych
cbf2830e5f
added CLUTTER_FLOAT_TO_UINT
2007-07-04 15:30:44 +00:00
Emmanuele Bassi
e30df678ae
2007-06-07 Emmanuele Bassi <ebassi@openedhand.com>
...
* clutter/*: Move documentation from the templates into the
source code.
2007-06-07 15:28:59 +00:00
Tomas Frydrych
733de46f3b
Fixed ellipse behaviour for negative angles; fixed double to int conversion for negative numbers; fixed CLUTTER_ANGLE_FROM_DEGX; added ClutterVertices and clutter_actor_get_transformed_vertices()
2007-05-31 09:29:12 +00:00
Tomas Frydrych
a4eeaceda4
added clutter_pow2x() and clutter_log2x()
2007-05-17 07:09:18 +00:00
Tomas Frydrych
4085070479
clutter_sini(): fixed reduction to 0,2pi
2007-04-30 08:39:15 +00:00
Tomas Frydrych
43593ab81f
bezier spline behaviours
2007-04-12 12:42:07 +00:00
Tomas Frydrych
d1d746eab1
fixed typo in configure.ac; fixed point perspective()
2007-03-29 10:41:23 +00:00
Tomas Frydrych
685c583d51
more fixed point work
2007-01-23 11:48:04 +00:00
Tomas Frydrych
b8b0d01c91
work around punned-pointer problem
2007-01-19 20:00:41 +00:00
Tomas Frydrych
f924e2bbf7
more fixed point work
2007-01-19 16:04:06 +00:00
Tomas Frydrych
7078dc5254
documentation for fixed point API
2007-01-17 16:00:00 +00:00
Emmanuele Bassi
9bd77e25b2
2007-01-17 Emmanuele Bassi <ebassi@openedhand.com>
...
* clutter/clutter-feature.h:
* clutter/clutter-feature.c: Move the GL headers from the
header file to the body.
* clutter/clutter-fixed.h:
* clutter/clutter-fixed.c: Fix apidoc.
* clutter/clutter-color.h:
* clutter/clutter-color.c: Ditto.
2007-01-17 13:51:14 +00:00
Tomas Frydrych
9a28ac34cd
fixed point sqrt
2007-01-17 13:03:52 +00:00
Emmanuele Bassi
4e765d1a34
2007-01-16 Emmanuele Bassi <ebassi@openedhand.com>
...
* clutter/clutter-feature.c: Use clutter_vblank_method() to
get the VBlank method name from the environment variable OR
the command line switch.
(clutter_feature_do_init): Move the check on the features
state here, to avoid an expensive function call, and inline
the function.
* clutter/clutter-fixed.c: Fix gtk-doc.
* clutter/clutter-main.c: Add a --clutter-vblank command line
switch controlling the VBlank method to be used: it overrides
the CLUTTER_VBLANK environment variable.
(pre_parse_hook), (clutter_init),
(clutter_init_with_args): Move thread initialisation before
type init, to avoid the warning that comes with newer GLib
versions.
* clutter/clutter-group.h:
* clutter/clutter-group.c: Mark clutter_group_show_all() and
clutter_group_hide_all() as deprecated.
2007-01-16 14:37:54 +00:00
Tomas Frydrych
3b7a8c0c5c
replacement of floating point ops with fixed point
2007-01-16 10:39:18 +00:00
Tomas Frydrych
884cc0f5cf
added ClutterAngle type and fast clutter_angle_sin() function; fixed clutter_fixed to work for negative angles; added convenience macros clutter_fixex_cos and clutter_angle_cos
2007-01-16 08:14:53 +00:00
Tomas Frydrych
44a89898ca
pluged clutter_fixed_sin into clutter-alpha; updated change log
2007-01-15 19:43:09 +00:00
Tomas Frydrych
95840c47bf
implemented fixed point sin(); fixed CLUTTER_FIXED_TO_FLOAT/DOUBLE macros
2007-01-15 18:37:12 +00:00