[gegl/mrg_ui] ui: comment out hack forcing conversion of loaded data
- From: Øyvind Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl/mrg_ui] ui: comment out hack forcing conversion of loaded data
- Date: Tue, 28 Jul 2015 22:15:22 +0000 (UTC)
commit 4a3ef61fc832c668bd16a9fc9323a951a300154d
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]