[gtk+/wip/ebassi/gsk-renderer: 469/545] gtk: Name GSK render nodes
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/ebassi/gsk-renderer: 469/545] gtk: Name GSK render nodes
- Date: Mon, 17 Oct 2016 13:50:37 +0000 (UTC)
commit 62f29fb0471aff1efde50924fae9c78974770554
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 574c8c6..78ac097 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -16085,6 +16085,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);
@@ -16107,6 +16108,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]