gtk: Name GSK render nodes

For debugging purposes it's helpful to name the nodes.
This commit is contained in:
Emmanuele Bassi 2016-07-27 09:39:55 +01:00
parent d6a6820d99
commit 43904892bc

View File

@ -15860,6 +15860,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);
@ -15882,6 +15883,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);