[gtk/matthiasc/glshader-node] rendernodeparser: Tweak the shader node serialization



commit 30f2e7e153be5bbfc53a3ca56980f51df9d3f410
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Sep 28 12:57:31 2020 -0400

    rendernodeparser: Tweak the shader node serialization
    
    We call it args now in the api. Follow suit for the
    serialization.

 gsk/gskrendernodeparser.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gsk/gskrendernodeparser.c b/gsk/gskrendernodeparser.c
index 1746354ec7..8d030e0856 100644
--- a/gsk/gskrendernodeparser.c
+++ b/gsk/gskrendernodeparser.c
@@ -1221,7 +1221,7 @@ parse_glshader_node (GtkCssParser *parser)
   const Declaration declarations[] = {
     { "bounds", parse_rect, NULL, &bounds },
     { "sourcecode", parse_shader, NULL, &shader_info },
-    { "uniform-data", parse_shader_args, clear_shader_info, &shader_info },
+    { "args", parse_shader_args, clear_shader_info, &shader_info },
     { "child1", parse_node, clear_node, &child[0] },
     { "child2", parse_node, clear_node, &child[1] },
     { "child3", parse_node, clear_node, &child[2] },
@@ -2824,7 +2824,7 @@ render_node_print (Printer       *p,
                   }
               }
             _indent (p);
-            g_string_append_printf (p->str, "uniform-data: %s;\n", data->str);
+            g_string_append_printf (p->str, "args: %s;\n", data->str);
             g_string_free (data, TRUE);
           }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]