[gegl] ui: comment out hack forcing conversion of loaded data



commit 94e01a25add4732f496133d1c3233af98ba80145
Author: Oyvind Kolas <pippin gimp org>
Date:   Wed Jul 29 00:14:41 2015 +0200

    ui: comment out hack forcing conversion of loaded data

 bin/mrg-ui.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/bin/mrg-ui.c b/bin/mrg-ui.c
index 7f05f8e..b461546 100644
--- a/bin/mrg-ui.c
+++ b/bin/mrg-ui.c
@@ -47,6 +47,8 @@ struct _State {
 
   char       *path;
   char       *gegl_path;
+
+
   GeglBuffer *buffer;
   GeglNode   *gegl;
   GeglNode   *sink;
@@ -1024,12 +1026,14 @@ static void load_into_buffer (State *o, const char *path)
   gegl_node_process (sink);
   g_object_unref (gegl);
 
+#if 0 /* hack to see if having the data in some formats already is faster */
   tempbuf = gegl_buffer_new (gegl_buffer_get_extent (o->buffer),
                                          babl_format ("RGBA float"));
 
   gegl_buffer_copy (o->buffer, NULL, GEGL_ABYSS_NONE, tempbuf, NULL);
   g_object_unref (o->buffer);
   o->buffer = tempbuf;
+#endif
 }
 
 static GeglNode *locate_node (State *o, const char *op_name)


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