[mutter/gbsneto/graphene-ray: 10/11] clutter/actor: Remove cached inverse transform
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/gbsneto/graphene-ray: 10/11] clutter/actor: Remove cached inverse transform
- Date: Sat, 17 Oct 2020 16:21:30 +0000 (UTC)
commit b64b9dabadfc5f3e052b0ddafd48d1772dcee6d1
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Sat Oct 17 12:43:00 2020 -0300
clutter/actor: Remove cached inverse transform
It is not used anymore.
https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1509
clutter/clutter/clutter-actor.c | 4 ----
1 file changed, 4 deletions(-)
---
diff --git a/clutter/clutter/clutter-actor.c b/clutter/clutter/clutter-actor.c
index ad94659b8b..73527e9abe 100644
--- a/clutter/clutter/clutter-actor.c
+++ b/clutter/clutter/clutter-actor.c
@@ -704,7 +704,6 @@ struct _ClutterActorPrivate
/* the cached transformation matrix; see apply_transform() */
graphene_matrix_t transform;
- graphene_matrix_t inverse_transform;
float resource_scale;
@@ -858,7 +857,6 @@ struct _ClutterActorPrivate
guint had_effects_on_last_paint_volume_update : 1;
guint absolute_origin_changed : 1;
guint needs_update_stage_views : 1;
- guint has_inverse_transform : 1;
};
enum
@@ -3078,8 +3076,6 @@ ensure_valid_actor_transform (ClutterActor *actor)
graphene_matrix_init_identity (&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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]