[gtk+] glrenderer: Add render items for child nodes
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] glrenderer: Add render items for child nodes
- Date: Fri, 31 Mar 2017 07:54:36 +0000 (UTC)
commit 67e7f44654d7952e9cd0dc70f7df6acbbbb741ff
Author: Timm Bäder <mail baedert org>
Date: Fri Jan 6 23:03:49 2017 +0100
glrenderer: Add render items for child nodes
gsk/gskglrenderer.c | 46 ++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 46 insertions(+), 0 deletions(-)
---
diff --git a/gsk/gskglrenderer.c b/gsk/gskglrenderer.c
index 4412084..67bd4f9 100644
--- a/gsk/gskglrenderer.c
+++ b/gsk/gskglrenderer.c
@@ -840,6 +840,52 @@ gsk_gl_renderer_add_render_item (GskGLRenderer *self,
}
break;
+ case GSK_COLOR_MATRIX_NODE:
+ {
+ GskRenderNode *child = gsk_color_matrix_node_get_child (node);
+
+ gsk_gl_renderer_add_render_item (self, projection, modelview, render_items, child, ritem);
+ }
+ return;
+
+ case GSK_SHADOW_NODE:
+ {
+ GskRenderNode *child = gsk_shadow_node_get_child (node);
+
+ gsk_gl_renderer_add_render_item (self, projection, modelview, render_items, child, ritem);
+ }
+ return;
+
+ case GSK_REPEAT_NODE:
+ {
+ GskRenderNode *child = gsk_repeat_node_get_child (node);
+
+ gsk_gl_renderer_add_render_item (self, projection, modelview, render_items, child, ritem);
+ }
+ return;
+
+ case GSK_BLEND_NODE:
+ {
+ GskRenderNode *child = gsk_blend_node_get_bottom_child (node);
+
+ gsk_gl_renderer_add_render_item (self, projection, modelview, render_items, child, ritem);
+
+ child = gsk_blend_node_get_top_child (node);
+ gsk_gl_renderer_add_render_item (self, projection, modelview, render_items, child, ritem);
+ }
+ return;
+
+ case GSK_CROSS_FADE_NODE:
+ {
+ GskRenderNode *child = gsk_cross_fade_node_get_start_child (node);
+
+ gsk_gl_renderer_add_render_item (self, projection, modelview, render_items, child, ritem);
+
+ child = gsk_cross_fade_node_get_end_child (node);
+ gsk_gl_renderer_add_render_item (self, projection, modelview, render_items, child, ritem);
+ }
+ return;
+
case GSK_CONTAINER_NODE:
{
guint i, p;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]