[gegl] edge-sobel: update reference-hash, opt out of autothreading



commit a2c4221b9a83f7cff8c59a26e24d09927ac2c06f
Author: Øyvind Kolås <pippin gimp org>
Date:   Thu Oct 12 18:56:51 2017 +0200

    edge-sobel: update reference-hash, opt out of autothreading
    
    edge-sobel causes the wrong result when auto-threaded, for now opting out of
    autothreading thus making it deterministic. Added a XXX comment indicating that
    this is a bug.

 operations/common/edge-sobel.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/operations/common/edge-sobel.c b/operations/common/edge-sobel.c
index de52a68..524536b 100644
--- a/operations/common/edge-sobel.c
+++ b/operations/common/edge-sobel.c
@@ -391,6 +391,7 @@ gegl_op_class_init (GeglOpClass *klass)
 
   operation_class->prepare        = prepare;
   operation_class->opencl_support = TRUE;
+  operation_class->threaded       = FALSE; // XXX: the need for this is a bug
 
   filter_class->process           = process;
 
@@ -398,7 +399,7 @@ gegl_op_class_init (GeglOpClass *klass)
     "name",        "gegl:edge-sobel",
     "title",       _("Sobel Edge Detection"),
     "categories",  "edge-detect",
-    "reference-hash", "50c7c77a4a130343facd199362a0d4fb",
+    "reference-hash", "56b83c838376302d42f4384cbc05b78a",
     "description", _("Specialized direction-dependent edge detection"),
           NULL);
 }


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