[gegl] ctx: disable unused bits of ctx, increasing portability



commit 7bc68f49a83f5effc3654c50ce061c0e45de8f55
Author: Øyvind Kolås <pippin gimp org>
Date:   Mon Jul 5 02:01:09 2021 +0200

    ctx: disable unused bits of ctx, increasing portability

 gegl/ctx/ctx.c | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)
---
diff --git a/gegl/ctx/ctx.c b/gegl/ctx/ctx.c
index e9debe8b8..6c0f745d7 100644
--- a/gegl/ctx/ctx.c
+++ b/gegl/ctx/ctx.c
@@ -1,12 +1,11 @@
 #include <stdint.h>
-#include <termios.h>
 #include <unistd.h>
 
 #include <babl/babl.h>
 
-#define CTX_PARSER               1
-#define CTX_FORMATTER            1
-#define CTX_EVENTS               1
+#define CTX_PARSER               0
+#define CTX_FORMATTER            0
+#define CTX_EVENTS               0
 #define CTX_BITPACK_PACKER       0 // turned of due to asan report
 #define CTX_GRADIENT_CACHE       1
 #define CTX_ENABLE_CMYK          1
@@ -17,7 +16,9 @@
                                        // variable size for each save|restore
 #define CTX_SHAPE_CACHE          0 // when used per gegl op perhsp
                                   // useful when rendering lots of text initially?
-#define CTX_IMPLEMENTATION 1
-#define CTX_RASTERIZER     1
+#define CTX_FONTS_FROM_FILE      0
+#define CTX_IMPLEMENTATION       1
+#define CTX_RASTERIZER           1
+#define CTX_AUDIO                0
 
 #include "ctx.h"


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