[gegl] hack to disable opencl



commit 6e4cdb98b0850dc9e1f634b23f3c3422977cb957
Author: Øyvind Kolås <pippin gimp org>
Date:   Fri May 23 05:42:34 2014 +0200

    hack to disable opencl

 operations/common/bilateral-filter-fast.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/operations/common/bilateral-filter-fast.c b/operations/common/bilateral-filter-fast.c
index d6197de..d97671b 100644
--- a/operations/common/bilateral-filter-fast.c
+++ b/operations/common/bilateral-filter-fast.c
@@ -102,9 +102,11 @@ bilateral_process (GeglOperation       *operation,
 {
   GeglProperties   *o = GEGL_PROPERTIES (operation);
 
+#if 0
   if (gegl_operation_use_opencl (operation))
     if (bilateral_cl_process (operation, input, output, result, o->s_sigma, o->r_sigma/100))
       return TRUE;
+#endif
 
   bilateral_filter (input, result, output, result, o->s_sigma, o->r_sigma/100);
 
@@ -486,7 +488,7 @@ gegl_op_class_init (GeglOpClass *klass)
   operation_class->get_required_for_output = bilateral_get_required_for_output;
   operation_class->get_cached_region       = bilateral_get_cached_region;
 
-  operation_class->opencl_support = TRUE;
+  operation_class->opencl_support = FALSE;
 
   gegl_operation_class_set_keys (operation_class,
   "name"       , "gegl:bilateral-filter-fast",


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