Commit fbff2736 authored by Ell's avatar Ell Committed by Øyvind "pippin" Kolås

Bug 783203 - Transform ops are opting out of multi-threading

After the last commit, multithreaded transform ops are faster than
single threaded, so reenable multithreading.

Note that this doesn't necessarily mean that the transform ops are
faster when using GEGL_THREADS>1, rather than GEGL_THREADS=1,
only that *when* GEGL_THREADS>1, the multithreaded version is
faster than the single threaded one.  However, GEGL_THREADS>1 seems
to be consistently faster than GEGL_THREADS=1 when using a non-
nearest sampler.

This reverts commit b54454fd.
parent 172d9b4f
......@@ -169,9 +169,7 @@ op_transform_class_init (OpTransformClass *klass)
op_class->process = gegl_transform_process;
op_class->prepare = gegl_transform_prepare;
op_class->no_cache = TRUE;
op_class->threaded = FALSE; // XXX : at the moment threading
// produces right result but
// slows down most transform - and significantly slows down scale
op_class->threaded = TRUE;
klass->create_matrix = NULL;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment