[gegl] ui: move defines to top and document them



commit 4b0c6609e4b064886669e9ab24d954fa29d18dda
Author: Oyvind Kolas <pippin gimp org>
Date:   Wed Jul 29 22:01:28 2015 +0200

    ui: move defines to top and document them

 bin/mrg-ui.c |   13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)
---
diff --git a/bin/mrg-ui.c b/bin/mrg-ui.c
index e679afa..b4c516f 100644
--- a/bin/mrg-ui.c
+++ b/bin/mrg-ui.c
@@ -37,6 +37,16 @@
 #include <gexiv2/gexiv2.h>
 #include <gegl-paramspecs.h>
 
+/* comment this out, and things render more correctly but much slower
+ * for images larger than your screen/window resolution
+ */
+#define USE_MIPMAPS    1
+
+
+/* set this to 1 to print the active gegl chain
+ */
+#define DEBUG_OP_LIST  0
+
 /*  this structure contains the full application state, and is what
  *  re-renderings of the UI is directly based on.
  */
@@ -48,7 +58,6 @@ struct _State {
   char       *path;
   char       *gegl_path;
 
-
   GeglBuffer *buffer;
   GeglNode   *gegl;
   GeglNode   *sink;
@@ -91,8 +100,6 @@ ActionData actions[]={
 
 static char *suffix = "-gegl";
 
-#define USE_MIPMAPS    1
-#define DEBUG_OP_LIST  1
 
 void   gegl_meta_set (const char *path, const char *meta_data);
 char * gegl_meta_get (const char *path);


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