[gtk/wip/baedert/gl-rework: 7/7] gl renderer: Add debug code for color nodes
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/baedert/gl-rework: 7/7] gl renderer: Add debug code for color nodes
- Date: Fri, 20 Dec 2019 14:05:46 +0000 (UTC)
commit 61dad3b2d5d24f7dbe2c625ddad608c4adc380f5
Author: Timm Bäder <mail baedert org>
Date: Fri Dec 20 12:30:39 2019 +0100
gl renderer: Add debug code for color nodes
gsk/gl/gskglrenderer.c | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/gsk/gl/gskglrenderer.c b/gsk/gl/gskglrenderer.c
index 2c5ee3072d..8262d7b9fc 100644
--- a/gsk/gl/gskglrenderer.c
+++ b/gsk/gl/gskglrenderer.c
@@ -125,6 +125,10 @@ print_render_node_tree (GskRenderNode *root, int level)
g_print ("%*s Text\n", level * INDENT, " ");
break;
+ case GSK_COLOR_NODE:
+ g_print ("%*s Color %s\n", level * INDENT, " ", gdk_rgba_to_string (gsk_color_node_peek_color
(root)));
+ break;
+
case GSK_SHADOW_NODE:
g_print ("%*s Shadow\n", level * INDENT, " ");
print_render_node_tree (gsk_shadow_node_get_child (root), level + 1);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]