[gtk/wip/baedert/for-master: 746/748] gl renderer: Handle blur nodes with invisible children
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/baedert/for-master: 746/748] gl renderer: Handle blur nodes with invisible children
- Date: Fri, 24 Jan 2020 05:22:01 +0000 (UTC)
commit 77f8245c0c3f44282fb9dfe093ffe950aed7fa36
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]