[gegl] operations: opt a set of non-thread safe ops out of threading



commit bb2c7fc7a51f0050c46fa3253af9ab7d38985e88
Author: Øyvind Kolås <pippin gimp org>
Date:   Mon Jun 30 21:16:57 2014 +0200

    operations: opt a set of non-thread safe ops out of threading

 operations/common/apply-lens.c    |    1 +
 operations/common/fattal02.c      |    1 +
 operations/common/image-compare.c |    1 +
 operations/common/mantiuk06.c     |    1 +
 operations/common/reinhard05.c    |    1 +
 operations/common/softglow.c      |    1 +
 operations/core/crop.c            |    1 +
 7 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/operations/common/apply-lens.c b/operations/common/apply-lens.c
index 809c39c..5306a9f 100644
--- a/operations/common/apply-lens.c
+++ b/operations/common/apply-lens.c
@@ -291,6 +291,7 @@ gegl_op_class_init (GeglOpClass *klass)
   operation_class = GEGL_OPERATION_CLASS (klass);
   filter_class    = GEGL_OPERATION_FILTER_CLASS (klass);
 
+  operation_class->threaded                = FALSE;
   operation_class->prepare                 = prepare;
   operation_class->get_cached_region       = get_cached_region;
   filter_class->process                    = process;
diff --git a/operations/common/fattal02.c b/operations/common/fattal02.c
index 069adc4..027c03f 100644
--- a/operations/common/fattal02.c
+++ b/operations/common/fattal02.c
@@ -1320,6 +1320,7 @@ gegl_op_class_init (GeglOpClass *klass)
   operation_class->prepare                 = fattal02_prepare;
   operation_class->get_required_for_output = fattal02_get_required_for_output;
   operation_class->get_cached_region       = fattal02_get_cached_region;
+  operation_class->threaded                = FALSE;
 
   gegl_operation_class_set_keys (operation_class,
   "name"       , "gegl:fattal02",
diff --git a/operations/common/image-compare.c b/operations/common/image-compare.c
index b58bd6c..e18ca09 100644
--- a/operations/common/image-compare.c
+++ b/operations/common/image-compare.c
@@ -197,6 +197,7 @@ gegl_op_class_init (GeglOpClass *klass)
   operation_class->get_required_for_output = get_required_for_output;
   operation_class->get_cached_region       = get_cached_region;
   composer_class->process                  = process;
+  operation_class->threaded                = FALSE;
 
   gegl_operation_class_set_keys (operation_class,
     "name"       , "gegl:image-compare",
diff --git a/operations/common/mantiuk06.c b/operations/common/mantiuk06.c
index b68bc31..62fc6e6 100644
--- a/operations/common/mantiuk06.c
+++ b/operations/common/mantiuk06.c
@@ -1631,6 +1631,7 @@ gegl_op_class_init (GeglOpClass *klass)
   operation_class->prepare                 = mantiuk06_prepare;
   operation_class->get_required_for_output = mantiuk06_get_required_for_output;
   operation_class->get_cached_region       = mantiuk06_get_cached_region;
+  operation_class->threaded                = FALSE;
 
   gegl_operation_class_set_keys (operation_class,
       "name",        "gegl:mantiuk06",
diff --git a/operations/common/reinhard05.c b/operations/common/reinhard05.c
index 83cae95..4f1a98d 100644
--- a/operations/common/reinhard05.c
+++ b/operations/common/reinhard05.c
@@ -266,6 +266,7 @@ gegl_op_class_init (GeglOpClass *klass)
   operation_class->prepare                 = reinhard05_prepare;
   operation_class->get_required_for_output = reinhard05_get_required_for_output;
   operation_class->get_cached_region       = reinhard05_get_cached_region;
+  operation_class->threaded                = FALSE;
 
   gegl_operation_class_set_keys (operation_class,
   "name",      "gegl:reinhard05",
diff --git a/operations/common/softglow.c b/operations/common/softglow.c
index 06a9e7e..c36cb59 100644
--- a/operations/common/softglow.c
+++ b/operations/common/softglow.c
@@ -224,6 +224,7 @@ gegl_op_class_init (GeglOpClass *klass)
   operation_class->prepare          = prepare;
   operation_class->get_bounding_box = get_bounding_box;
   filter_class->process             = process;
+  operation_class->threaded         = FALSE;
 
   gegl_operation_class_set_keys (operation_class,
     "name",        "gegl:softglow",
diff --git a/operations/core/crop.c b/operations/core/crop.c
index 94b9427..72b125f 100644
--- a/operations/core/crop.c
+++ b/operations/core/crop.c
@@ -189,6 +189,7 @@ gegl_op_class_init (GeglOpClass *klass)
 
   operation_class = GEGL_OPERATION_CLASS (klass);
 
+  operation_class->threaded                  = FALSE;
   operation_class->process                   = gegl_crop_process;
   operation_class->prepare                   = gegl_crop_prepare;
   operation_class->get_bounding_box          = gegl_crop_get_bounding_box;


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