[gtk+/wip/ebassi/gsk-renderer: 73/126] gtk: Name GSK render nodes
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/ebassi/gsk-renderer: 73/126] gtk: Name GSK render nodes
- Date: Tue, 9 Aug 2016 16:36:53 +0000 (UTC)
commit e160b80853d51a8a6aa7689360fb53cbb9fa0764
Author: Emmanuele Bassi <ebassi gnome org>
Date: Wed Jul 27 09:39:55 2016 +0100
gtk: Name GSK render nodes
For debugging purposes it's helpful to name the nodes.
gtk/gtkwidget.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index 73485f5..f99460d 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -17482,6 +17482,7 @@ gtk_widget_get_render_node (GtkWidget *widget,
cairo_t *cr;
tmp = gsk_render_node_new ();
+ gsk_render_node_set_name (tmp, "Draw Fallback");
gsk_render_node_set_bounds (tmp, &bounds);
gsk_render_node_set_transform (tmp, &m);
cr = gsk_render_node_get_draw_context (tmp);
@@ -17504,6 +17505,7 @@ gtk_widget_get_render_node (GtkWidget *widget,
cairo_t *cr;
tmp = gsk_render_node_new ();
+ gsk_render_node_set_name (tmp, "Draw Signal Handler");
gsk_render_node_set_bounds (tmp, &bounds);
gsk_render_node_set_transform (tmp, &m);
cr = gsk_render_node_get_draw_context (tmp);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]