mirror of
https://github.com/brl/mutter.git
synced 2025-01-11 04:02:36 +00:00
clutter/actor: Remove cached inverse transform
It is not used anymore. https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1509
This commit is contained in:
parent
7d25cbe87f
commit
54db1b2fa2
@ -692,7 +692,6 @@ struct _ClutterActorPrivate
|
|||||||
|
|
||||||
/* the cached transformation matrix; see apply_transform() */
|
/* the cached transformation matrix; see apply_transform() */
|
||||||
graphene_matrix_t transform;
|
graphene_matrix_t transform;
|
||||||
graphene_matrix_t inverse_transform;
|
|
||||||
|
|
||||||
float resource_scale;
|
float resource_scale;
|
||||||
|
|
||||||
@ -847,7 +846,6 @@ struct _ClutterActorPrivate
|
|||||||
guint needs_paint_volume_update : 1;
|
guint needs_paint_volume_update : 1;
|
||||||
guint had_effects_on_last_paint_volume_update : 1;
|
guint had_effects_on_last_paint_volume_update : 1;
|
||||||
guint needs_update_stage_views : 1;
|
guint needs_update_stage_views : 1;
|
||||||
guint has_inverse_transform : 1;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
enum
|
enum
|
||||||
@ -3057,8 +3055,6 @@ ensure_valid_actor_transform (ClutterActor *actor)
|
|||||||
graphene_matrix_init_identity (&priv->transform);
|
graphene_matrix_init_identity (&priv->transform);
|
||||||
|
|
||||||
CLUTTER_ACTOR_GET_CLASS (actor)->apply_transform (actor, &priv->transform);
|
CLUTTER_ACTOR_GET_CLASS (actor)->apply_transform (actor, &priv->transform);
|
||||||
priv->has_inverse_transform = graphene_matrix_inverse (&priv->transform,
|
|
||||||
&priv->inverse_transform);
|
|
||||||
|
|
||||||
priv->transform_valid = TRUE;
|
priv->transform_valid = TRUE;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user