[mutter/gbsneto/graphene-ray: 4/6] 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: 4/6] clutter/actor: Remove cached inverse transform
- Date: Mon, 26 Oct 2020 13:01:52 +0000 (UTC)
commit cf515a73c23ce8b5e7ed1d1ea023a0b4d670d0a8
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 1c28ec6073..79f4565edb 100644
--- a/clutter/clutter/clutter-actor.c
+++ b/clutter/clutter/clutter-actor.c
@@ -692,7 +692,6 @@ struct _ClutterActorPrivate
/* the cached transformation matrix; see apply_transform() */
graphene_matrix_t transform;
- graphene_matrix_t inverse_transform;
float resource_scale;
@@ -847,7 +846,6 @@ struct _ClutterActorPrivate
guint needs_paint_volume_update : 1;
guint had_effects_on_last_paint_volume_update : 1;
guint needs_update_stage_views : 1;
- guint has_inverse_transform : 1;
};
enum
@@ -3057,8 +3055,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]