[gtk/wip/baedert/cairo-paint: 2/2] rendernode: Don't clip when _draw()ing



commit 52c46e5c2490e72c439682e4018e8c07899bcfc9
Author: Timm Bäder <mail baedert org>
Date:   Wed Feb 12 16:22:44 2020 +0100

    rendernode: Don't clip when _draw()ing

 gsk/gskrendernode.c | 12 ------------
 1 file changed, 12 deletions(-)
---
diff --git a/gsk/gskrendernode.c b/gsk/gskrendernode.c
index 366ecfdb99..fb80a7c3a0 100644
--- a/gsk/gskrendernode.c
+++ b/gsk/gskrendernode.c
@@ -194,18 +194,6 @@ gsk_render_node_draw (GskRenderNode *node,
 
   cairo_save (cr);
 
-#ifdef G_ENABLE_DEBUG
-  if (!GSK_DEBUG_CHECK (GEOMETRY))
-    {
-      GSK_NOTE (CAIRO, g_message ("CLIP = { .x = %g, .y = %g, .width = %g, .height = %g }",
-                                node->bounds.origin.x, node->bounds.origin.y,
-                                node->bounds.size.width, node->bounds.size.height));
-
-      cairo_rectangle (cr, node->bounds.origin.x, node->bounds.origin.y, node->bounds.size.width, 
node->bounds.size.height);
-      cairo_clip (cr);
-    }
-#endif
-
   GSK_NOTE (CAIRO, g_message ("Rendering node %s[%p]",
                             node->node_class->type_name, node));
 


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