[gegl] bin/gegl: in ui mode opt out of opencl rendering



commit 08030605eb03ea2ad2263c15fd5b687e5058be2a
Author: Øyvind Kolås <pippin gimp org>
Date:   Mon Feb 6 16:00:03 2017 +0100

    bin/gegl: in ui mode opt out of opencl rendering
    
    This to makes it use mipmap rendering code paths by default.

 bin/ui.c                           |    1 +
 tests/mipmap/unsharp-reference.png |  Bin 87326 -> 86254 bytes
 2 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/bin/ui.c b/bin/ui.c
index 0bb27f1..cf485ec 100644
--- a/bin/ui.c
+++ b/bin/ui.c
@@ -336,6 +336,7 @@ int mrg_ui_main (int argc, char **argv, char **ops)
    * already works well.
    */
   g_setenv ("GEGL_MIPMAP_RENDERING", "1", TRUE);
+  g_setenv ("GEGL_USE_OPENCL", "no", TRUE);
 #endif
 
 /* we want to see the speed gotten if the fastest babl conversions we have were more accurate */
diff --git a/tests/mipmap/unsharp-reference.png b/tests/mipmap/unsharp-reference.png
index 2db523a..e5e5df9 100644
Binary files a/tests/mipmap/unsharp-reference.png and b/tests/mipmap/unsharp-reference.png differ


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