[gtk/wip/baedert/gl-rework: 70/71] gl renderer: Handle blur nodes with invisible children



commit 568c16f2feb3364516605f0bb644cf9568e2355f
Author: Timm Bäder <mail baedert org>
Date:   Wed Jan 22 08:38:41 2020 +0100

    gl renderer: Handle blur nodes with invisible children

 gsk/gl/gskglrenderer.c | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/gsk/gl/gskglrenderer.c b/gsk/gl/gskglrenderer.c
index 81e4eb91e9..0817849e73 100644
--- a/gsk/gl/gskglrenderer.c
+++ b/gsk/gl/gskglrenderer.c
@@ -1446,6 +1446,9 @@ render_blur_node (GskGLRenderer   *self,
   GskRenderNode *child = gsk_blur_node_get_child (node);
   TextureRegion blurred_region;
 
+  if (node_is_invisible (child))
+    return;
+
   if (blur_radius <= 0)
     {
       gsk_gl_renderer_add_render_ops (self, child, builder);


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