[gegl/threaded-base-classes: 16/22] opt some ops out of parallelization
- From: Øyvind Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl/threaded-base-classes: 16/22] opt some ops out of parallelization
- Date: Mon, 30 Jun 2014 02:16:14 +0000 (UTC)
commit ebddc28559855d5aa906f049358187ba759a31a2
Author: Øyvind Kolås <pippin gimp org>
Date: Fri Jun 27 10:05:12 2014 +0200
opt some ops out of parallelization
operations/common/checkerboard.c | 1 +
operations/core/crop.c | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/operations/common/checkerboard.c b/operations/common/checkerboard.c
index 8dc58de..be55fdb 100644
--- a/operations/common/checkerboard.c
+++ b/operations/common/checkerboard.c
@@ -331,6 +331,7 @@ gegl_op_class_init (GeglOpClass *klass)
source_class->process = operation_source_process;
operation_class->get_bounding_box = get_bounding_box;
operation_class->prepare = prepare;
+ operation_class->parallelize = FALSE;
gegl_operation_class_set_keys (operation_class,
"name", "gegl:checkerboard",
diff --git a/operations/core/crop.c b/operations/core/crop.c
index 94b9427..7ce8d4c 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->parallelize = 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]