mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 11:32:04 +00:00
2008-06-16 Tomas Frydrych <tf@openedhand.com>
* clutter/clutter-actor.c: (clutter_actor_move_anchor_point): (clutter_actor_move_anchor_pointu): (clutter_actor_move_anchor_point_from_gravity): Fixed incorrect sign of position adjustment. Fixed replace call to _move_by with move_byu in _move_anchor_pointu. Stripped trailing whitespace.
This commit is contained in:
parent
8996406189
commit
1c4b1ce90e
56
ChangeLog
56
ChangeLog
@ -1,3 +1,15 @@
|
|||||||
|
2008-06-16 Tomas Frydrych <tf@openedhand.com>
|
||||||
|
|
||||||
|
* clutter/clutter-actor.c:
|
||||||
|
(clutter_actor_move_anchor_point):
|
||||||
|
(clutter_actor_move_anchor_pointu):
|
||||||
|
(clutter_actor_move_anchor_point_from_gravity):
|
||||||
|
Fixed incorrect sign of position adjustment.
|
||||||
|
Fixed replace call to _move_by with move_byu in
|
||||||
|
_move_anchor_pointu.
|
||||||
|
|
||||||
|
Stripped trailing whitespace.
|
||||||
|
|
||||||
2008-06-15 Emmanuele Bassi <ebassi@openedhand.com>
|
2008-06-15 Emmanuele Bassi <ebassi@openedhand.com>
|
||||||
|
|
||||||
Bug #967 - Mismatch of Timeline::marker-reached signal signature
|
Bug #967 - Mismatch of Timeline::marker-reached signal signature
|
||||||
@ -17,7 +29,7 @@
|
|||||||
|
|
||||||
* README:
|
* README:
|
||||||
Make needed GL version 1.4, note GLES2 support, add some notes
|
Make needed GL version 1.4, note GLES2 support, add some notes
|
||||||
for COGL.
|
for COGL.
|
||||||
|
|
||||||
2008-06-13 Emmanuele Bassi <ebassi@openedhand.com>
|
2008-06-13 Emmanuele Bassi <ebassi@openedhand.com>
|
||||||
|
|
||||||
@ -173,7 +185,7 @@
|
|||||||
|
|
||||||
* configure.ac: Detect the GL headers in flavour=fruity
|
* configure.ac: Detect the GL headers in flavour=fruity
|
||||||
|
|
||||||
* clutter/fruity/clutter-stage-fruity.c: Update the Fruity backend to
|
* clutter/fruity/clutter-stage-fruity.c: Update the Fruity backend to
|
||||||
use the new size negotiation API.
|
use the new size negotiation API.
|
||||||
|
|
||||||
2008-06-11 Emmanuele Bassi <ebassi@openedhand.com>
|
2008-06-11 Emmanuele Bassi <ebassi@openedhand.com>
|
||||||
@ -505,13 +517,13 @@
|
|||||||
* clutter/eglnative/clutter-event-egl.c (get_backend_time): Added
|
* clutter/eglnative/clutter-event-egl.c (get_backend_time): Added
|
||||||
a NULL for the microseconds parameter of g_timer_elapsed.
|
a NULL for the microseconds parameter of g_timer_elapsed.
|
||||||
|
|
||||||
* clutter/eglnative/clutter-stage-egl.h:
|
* clutter/eglnative/clutter-stage-egl.h:
|
||||||
* clutter/eglnative/clutter-egl.h:
|
* clutter/eglnative/clutter-egl.h:
|
||||||
* clutter/eglnative/clutter-backend-egl.h: Include
|
* clutter/eglnative/clutter-backend-egl.h: Include
|
||||||
clutter-egl-headers.h instead of including the GL headers directly
|
clutter-egl-headers.h instead of including the GL headers directly
|
||||||
so it can include gl2.h when building for GLES 2.
|
so it can include gl2.h when building for GLES 2.
|
||||||
|
|
||||||
* clutter/eglnative/clutter-egl-headers.h:
|
* clutter/eglnative/clutter-egl-headers.h:
|
||||||
* clutter/eglnative/Makefile.am (libclutter_eglnative_la_SOURCES):
|
* clutter/eglnative/Makefile.am (libclutter_eglnative_la_SOURCES):
|
||||||
Added clutter-egl-headers.h
|
Added clutter-egl-headers.h
|
||||||
|
|
||||||
@ -687,7 +699,7 @@
|
|||||||
|
|
||||||
2008-06-03 Øyvind Kolås <pippin@o-hand.com>
|
2008-06-03 Øyvind Kolås <pippin@o-hand.com>
|
||||||
|
|
||||||
* clutter/clutter-container.c: (container_get_child_property):
|
* clutter/clutter-container.c: (container_get_child_property):
|
||||||
s/g_object_set_property/g_object_get_property/
|
s/g_object_set_property/g_object_get_property/
|
||||||
|
|
||||||
2008-06-02 Neil Roberts <neil@o-hand.com>
|
2008-06-02 Neil Roberts <neil@o-hand.com>
|
||||||
@ -701,12 +713,12 @@
|
|||||||
|
|
||||||
Applied 'final patch' from bug #874
|
Applied 'final patch' from bug #874
|
||||||
|
|
||||||
* clutter/cogl/gles/cogl.c:
|
* clutter/cogl/gles/cogl.c:
|
||||||
* clutter/cogl/gl/cogl.c: The clip planes are now set using the
|
* clutter/cogl/gl/cogl.c: The clip planes are now set using the
|
||||||
inverse projection matrix as the modelview matrix so that they can
|
inverse projection matrix as the modelview matrix so that they can
|
||||||
be specified in screen coordinates.
|
be specified in screen coordinates.
|
||||||
|
|
||||||
* clutter/cogl/gles/cogl-context.h (CoglContext):
|
* clutter/cogl/gles/cogl-context.h (CoglContext):
|
||||||
* clutter/cogl/gl/cogl-context.h (CoglContext): Added a member to
|
* clutter/cogl/gl/cogl-context.h (CoglContext): Added a member to
|
||||||
cache the inverse projection matrix
|
cache the inverse projection matrix
|
||||||
|
|
||||||
@ -732,9 +744,9 @@
|
|||||||
(_cogl_features_init): Report support for the shaders feature on
|
(_cogl_features_init): Report support for the shaders feature on
|
||||||
GLES 2
|
GLES 2
|
||||||
|
|
||||||
* clutter/cogl/gles/cogl-shader.h:
|
* clutter/cogl/gles/cogl-shader.h:
|
||||||
* clutter/cogl/gles/cogl-shader.c:
|
* clutter/cogl/gles/cogl-shader.c:
|
||||||
* clutter/cogl/gles/cogl-program.h:
|
* clutter/cogl/gles/cogl-program.h:
|
||||||
* clutter/cogl/gles/cogl-program.c: Separate files to handle
|
* clutter/cogl/gles/cogl-program.c: Separate files to handle
|
||||||
shaders on programs on GLES. If version 1.1 is being used then the
|
shaders on programs on GLES. If version 1.1 is being used then the
|
||||||
stub functions which all fail are still used.
|
stub functions which all fail are still used.
|
||||||
@ -796,7 +808,7 @@
|
|||||||
2008-05-30 Emmanuele Bassi <ebassi@openedhand.com>
|
2008-05-30 Emmanuele Bassi <ebassi@openedhand.com>
|
||||||
|
|
||||||
* clutter/pango/pangoclutter-fontmap.c:
|
* clutter/pango/pangoclutter-fontmap.c:
|
||||||
* clutter/pango/pangoclutter-renderer.c:
|
* clutter/pango/pangoclutter-renderer.c:
|
||||||
* clutter/pango/pangoclutter.h
|
* clutter/pango/pangoclutter.h
|
||||||
* clutter/pango/pangoclutter-private.h: Add a function retrieving
|
* clutter/pango/pangoclutter-private.h: Add a function retrieving
|
||||||
the font mipmapping setting.
|
the font mipmapping setting.
|
||||||
@ -966,7 +978,7 @@
|
|||||||
items.
|
items.
|
||||||
|
|
||||||
(clutter_script_construct_object): Fix a typo in the type check.
|
(clutter_script_construct_object): Fix a typo in the type check.
|
||||||
|
|
||||||
(clutter_script_init): Do not copy the key inside the hash
|
(clutter_script_init): Do not copy the key inside the hash
|
||||||
table holding the objects - we are already holding it inside
|
table holding the objects - we are already holding it inside
|
||||||
the value.
|
the value.
|
||||||
@ -982,7 +994,7 @@
|
|||||||
glTexParameteri. Call glGenerateMipmap after every change to the
|
glTexParameteri. Call glGenerateMipmap after every change to the
|
||||||
texture image data.
|
texture image data.
|
||||||
|
|
||||||
* clutter/cogl/gles/cogl-gles2-wrapper.h:
|
* clutter/cogl/gles/cogl-gles2-wrapper.h:
|
||||||
* clutter/cogl/gles/cogl-gles2-wrapper.c: Added a wrapper for
|
* clutter/cogl/gles/cogl-gles2-wrapper.c: Added a wrapper for
|
||||||
glTexParameteri so that it can ignore requests to set
|
glTexParameteri so that it can ignore requests to set
|
||||||
GL_GENERATE_MIPMAP. Added a wrapper for glGenerateMipmap that does
|
GL_GENERATE_MIPMAP. Added a wrapper for glGenerateMipmap that does
|
||||||
@ -1009,9 +1021,9 @@
|
|||||||
|
|
||||||
2008-05-27 Neil Roberts <neil@o-hand.com>
|
2008-05-27 Neil Roberts <neil@o-hand.com>
|
||||||
|
|
||||||
* clutter/eglx/clutter-stage-egl.h:
|
* clutter/eglx/clutter-stage-egl.h:
|
||||||
* clutter/eglx/clutter-egl-headers.h:
|
* clutter/eglx/clutter-egl-headers.h:
|
||||||
* clutter/eglx/clutter-backend-egl.h:
|
* clutter/eglx/clutter-backend-egl.h:
|
||||||
* clutter/eglx/Makefile.am: Include the GLES and EGL headers via
|
* clutter/eglx/Makefile.am: Include the GLES and EGL headers via
|
||||||
clutter-egl-headers.h so that the right version can be used
|
clutter-egl-headers.h so that the right version can be used
|
||||||
depending on whether the GLES 2 wrapper is being used.
|
depending on whether the GLES 2 wrapper is being used.
|
||||||
@ -1027,11 +1039,11 @@
|
|||||||
* clutter/cogl/gles/stringify.sh: Shell script to convert the
|
* clutter/cogl/gles/stringify.sh: Shell script to convert the
|
||||||
shaders into a C string.
|
shaders into a C string.
|
||||||
|
|
||||||
* clutter/cogl/gles/cogl-gles2-wrapper.h:
|
* clutter/cogl/gles/cogl-gles2-wrapper.h:
|
||||||
* clutter/cogl/gles/cogl-gles2-wrapper.c: Wrappers for most of the
|
* clutter/cogl/gles/cogl-gles2-wrapper.c: Wrappers for most of the
|
||||||
missing GL functions in GLES 2.
|
missing GL functions in GLES 2.
|
||||||
|
|
||||||
* clutter/cogl/gles/cogl-fixed-fragment-shader.glsl:
|
* clutter/cogl/gles/cogl-fixed-fragment-shader.glsl:
|
||||||
* clutter/cogl/gles/cogl-fixed-vertex-shader.glsl: New shaders for
|
* clutter/cogl/gles/cogl-fixed-vertex-shader.glsl: New shaders for
|
||||||
GLES 2
|
GLES 2
|
||||||
|
|
||||||
@ -1041,8 +1053,8 @@
|
|||||||
* clutter/cogl/gles/cogl-context.h (CoglContext): Include a field
|
* clutter/cogl/gles/cogl-context.h (CoglContext): Include a field
|
||||||
for the state of the GLES 2 wrapper.
|
for the state of the GLES 2 wrapper.
|
||||||
|
|
||||||
* clutter/cogl/gles/cogl-texture.c:
|
* clutter/cogl/gles/cogl-texture.c:
|
||||||
* clutter/cogl/gles/cogl-primitives.c:
|
* clutter/cogl/gles/cogl-primitives.c:
|
||||||
* clutter/cogl/gles/cogl.c: Use wrapped versions of the GL
|
* clutter/cogl/gles/cogl.c: Use wrapped versions of the GL
|
||||||
functions where neccessary.
|
functions where neccessary.
|
||||||
|
|
||||||
@ -1084,7 +1096,7 @@
|
|||||||
called in cogl-texture etc.
|
called in cogl-texture etc.
|
||||||
|
|
||||||
* clutter/cogl/gl/cogl-texture.c (cogl_texture_new_from_foreign):
|
* clutter/cogl/gl/cogl-texture.c (cogl_texture_new_from_foreign):
|
||||||
* clutter/cogl/gles/cogl-texture.c (cogl_texture_new_from_foreign):
|
* clutter/cogl/gles/cogl-texture.c (cogl_texture_new_from_foreign):
|
||||||
GE(*) can't be used to wrap around calls that use the return
|
GE(*) can't be used to wrap around calls that use the return
|
||||||
value.
|
value.
|
||||||
|
|
||||||
|
@ -1143,7 +1143,7 @@ clutter_actor_get_allocation_vertices (ClutterActor *self,
|
|||||||
stage = clutter_actor_get_stage (self);
|
stage = clutter_actor_get_stage (self);
|
||||||
|
|
||||||
/* FIXME: if were not yet added to a stage, its probably unsafe to
|
/* FIXME: if were not yet added to a stage, its probably unsafe to
|
||||||
* return default - idealy the func should fail.
|
* return default - idealy the func should fail.
|
||||||
*/
|
*/
|
||||||
if (stage == NULL)
|
if (stage == NULL)
|
||||||
stage = clutter_stage_get_default ();
|
stage = clutter_stage_get_default ();
|
||||||
@ -1217,7 +1217,7 @@ clutter_actor_get_abs_allocation_vertices (ClutterActor *self,
|
|||||||
stage = clutter_actor_get_stage (self);
|
stage = clutter_actor_get_stage (self);
|
||||||
|
|
||||||
/* FIXME: if were not yet added to a stage, its probably unsafe to
|
/* FIXME: if were not yet added to a stage, its probably unsafe to
|
||||||
* return default - idealy the func should fail.
|
* return default - idealy the func should fail.
|
||||||
*/
|
*/
|
||||||
if (stage == NULL)
|
if (stage == NULL)
|
||||||
stage = clutter_stage_get_default ();
|
stage = clutter_stage_get_default ();
|
||||||
@ -1370,7 +1370,7 @@ _clutter_actor_apply_modelview_transform_recursive (ClutterActor *self,
|
|||||||
stage = clutter_actor_get_stage (self);
|
stage = clutter_actor_get_stage (self);
|
||||||
|
|
||||||
/* FIXME: if were not yet added to a stage, its probably unsafe to
|
/* FIXME: if were not yet added to a stage, its probably unsafe to
|
||||||
* return default - idealy the func should fail.
|
* return default - idealy the func should fail.
|
||||||
*/
|
*/
|
||||||
if (stage == NULL)
|
if (stage == NULL)
|
||||||
stage = clutter_stage_get_default ();
|
stage = clutter_stage_get_default ();
|
||||||
@ -2033,7 +2033,7 @@ clutter_actor_class_init (ClutterActorClass *klass)
|
|||||||
*
|
*
|
||||||
* Since: 0.8
|
* Since: 0.8
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property
|
g_object_class_install_property
|
||||||
(object_class,
|
(object_class,
|
||||||
PROP_MIN_WIDTH,
|
PROP_MIN_WIDTH,
|
||||||
clutter_param_spec_unit ("min-width",
|
clutter_param_spec_unit ("min-width",
|
||||||
@ -2503,9 +2503,9 @@ clutter_actor_class_init (ClutterActorClass *klass)
|
|||||||
* Calling clutter_actor_hide() on an actor which has not been
|
* Calling clutter_actor_hide() on an actor which has not been
|
||||||
* parented will set this property to %FALSE as a side effect.
|
* parented will set this property to %FALSE as a side effect.
|
||||||
*
|
*
|
||||||
* Since: 0.8
|
* Since: 0.8
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property
|
g_object_class_install_property
|
||||||
(object_class,
|
(object_class,
|
||||||
PROP_SHOW_ON_SET_PARENT,
|
PROP_SHOW_ON_SET_PARENT,
|
||||||
g_param_spec_boolean ("show-on-set-parent",
|
g_param_spec_boolean ("show-on-set-parent",
|
||||||
@ -5587,7 +5587,7 @@ clutter_actor_set_parent (ClutterActor *self,
|
|||||||
|
|
||||||
if (priv->show_on_set_parent)
|
if (priv->show_on_set_parent)
|
||||||
clutter_actor_show (self);
|
clutter_actor_show (self);
|
||||||
|
|
||||||
if (CLUTTER_ACTOR_IS_VISIBLE (priv->parent_actor) &&
|
if (CLUTTER_ACTOR_IS_VISIBLE (priv->parent_actor) &&
|
||||||
CLUTTER_ACTOR_IS_VISIBLE (self))
|
CLUTTER_ACTOR_IS_VISIBLE (self))
|
||||||
{
|
{
|
||||||
@ -6033,7 +6033,7 @@ clutter_actor_move_anchor_point (ClutterActor *self,
|
|||||||
priv->anchor_y = ay;
|
priv->anchor_y = ay;
|
||||||
|
|
||||||
if (priv->position_set)
|
if (priv->position_set)
|
||||||
clutter_actor_move_by (self, -dx, -dy);
|
clutter_actor_move_byu (self, dx, dy);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -6136,7 +6136,7 @@ clutter_actor_move_anchor_pointu (ClutterActor *self,
|
|||||||
priv->anchor_y = anchor_y;
|
priv->anchor_y = anchor_y;
|
||||||
|
|
||||||
if (priv->position_set)
|
if (priv->position_set)
|
||||||
clutter_actor_move_byu (self, -dx, -dy);
|
clutter_actor_move_byu (self, dx, dy);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -6199,7 +6199,7 @@ clutter_actor_move_anchor_point_from_gravity (ClutterActor *self,
|
|||||||
|
|
||||||
if (priv->position_set)
|
if (priv->position_set)
|
||||||
{
|
{
|
||||||
clutter_actor_move_byu (self, -dx, -dy);
|
clutter_actor_move_byu (self, dx, dy);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user