[mutter] wayland/actor-surface: Remove some needles redirections
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] wayland/actor-surface: Remove some needles redirections
- Date: Sat, 28 Aug 2021 12:32:00 +0000 (UTC)
commit eede3d18366c574d2ae26b08bbd8693ef915ceee
Author: Robert Mader <robert mader posteo de>
Date: Sat Aug 28 13:54:12 2021 +0200
wayland/actor-surface: Remove some needles redirections
We already interact with the `MetaShapedTexture` directly.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1978>
src/wayland/meta-wayland-actor-surface.c | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/src/wayland/meta-wayland-actor-surface.c b/src/wayland/meta-wayland-actor-surface.c
index bdebe6b2b4..58f96375fb 100644
--- a/src/wayland/meta-wayland-actor-surface.c
+++ b/src/wayland/meta-wayland-actor-surface.c
@@ -248,27 +248,27 @@ meta_wayland_actor_surface_real_sync_actor_state (MetaWaylandActorSurface *actor
}
}
- meta_surface_actor_set_transform (surface_actor, surface->buffer_transform);
+ meta_shaped_texture_set_transform (stex, surface->buffer_transform);
if (surface->viewport.has_src_rect)
{
- meta_surface_actor_set_viewport_src_rect (surface_actor,
- &surface->viewport.src_rect);
+ meta_shaped_texture_set_viewport_src_rect (stex,
+ &surface->viewport.src_rect);
}
else
{
- meta_surface_actor_reset_viewport_src_rect (surface_actor);
+ meta_shaped_texture_reset_viewport_src_rect (stex);
}
if (surface->viewport.has_dst_size)
{
- meta_surface_actor_set_viewport_dst_size (surface_actor,
- surface->viewport.dst_width,
- surface->viewport.dst_height);
+ meta_shaped_texture_set_viewport_dst_size (stex,
+ surface->viewport.dst_width,
+ surface->viewport.dst_height);
}
else
{
- meta_surface_actor_reset_viewport_dst_size (surface_actor);
+ meta_shaped_texture_reset_viewport_dst_size (stex);
}
meta_shaped_texture_ensure_size_valid (stex);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]