[gegl] Disable in-place processing when multi threading is enabled.
- From: Øyvind Kolås <ok src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gegl] Disable in-place processing when multi threading is enabled.
- Date: Sat, 21 Nov 2009 21:57:18 +0000 (UTC)
commit 7315e30da9089954d92a55c55228adcdd7e409f0
Author: �yvind Kolås <pippin gimp org>
Date: Sat Nov 21 21:48:25 2009 +0000
Disable in-place processing when multi threading is enabled.
Perhaps the criteria that accepts passthrough processing can
be improved for the multiprocessing case?
gegl/operation/gegl-operation-filter.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/gegl/operation/gegl-operation-filter.c b/gegl/operation/gegl-operation-filter.c
index cf24d50..1ebf8a4 100644
--- a/gegl/operation/gegl-operation-filter.c
+++ b/gegl/operation/gegl-operation-filter.c
@@ -187,7 +187,12 @@ gboolean gegl_can_passthrough (GeglOperation *operation,
GeglBuffer *input,
const GeglRectangle *result)
{
+#if ENABLE_MT
+ /* pass through processing currently conflicts
+ * with in place processing.
+ */
return FALSE;
+#endif
if (!input ||
GEGL_IS_CACHE (input))
return FALSE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]