[gnome-shell/gnome-3-36] Revert "st-label: Keep labels fully pre-rendered on the GPU"



commit fae7ba52dca971c179f78b0d573ae2efd5c1fd13
Author: Robert Mader <robert mader posteo de>
Date:   Mon Jun 29 15:53:21 2020 +0200

    Revert "st-label: Keep labels fully pre-rendered on the GPU"
    
    This reverts commit 96f1d1b08db550bd51374c081f8729383a7065a0.
    
    There have been reports of issues around this commit so back out from
    it on the stable branch.
    
    See https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2937

 src/st/st-label.c | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)
---
diff --git a/src/st/st-label.c b/src/st/st-label.c
index 3f82a2c152..947c8ec861 100644
--- a/src/st/st-label.c
+++ b/src/st/st-label.c
@@ -294,7 +294,6 @@ st_label_class_init (StLabelClass *klass)
 static void
 st_label_init (StLabel *label)
 {
-  ClutterActor *actor = CLUTTER_ACTOR (label);
   StLabelPrivate *priv;
 
   label->priv = priv = st_label_get_instance_private (label);
@@ -306,10 +305,7 @@ st_label_init (StLabel *label)
   label->priv->shadow_width = -1.;
   label->priv->shadow_height = -1.;
 
-  clutter_actor_add_child (actor, priv->label);
-
-  clutter_actor_set_offscreen_redirect (actor,
-                                        CLUTTER_OFFSCREEN_REDIRECT_ALWAYS);
+  clutter_actor_add_child (CLUTTER_ACTOR (label), priv->label);
 }
 
 /**


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]