• Ell's avatar
    operation, transform: use separate input buffers for different threads · 172d9b4f
    Ell authored
    Use gegl_operation_context_dup_input_maybe_copy(), added in the
    previous commit, in GimpOperationFilter, GimpOperationComposer,
    GimpOperationComposer3, and OpTransform (however, *not* in the
    corresponding point ops), to (potentially) create a separate copy
    of the input buffer for each thread, to avoid lock contention over
    the input buffer's tile-storage lock.  Use the input buffer
    directly only for the first chunk, which is processed by the caller
    thread.
    
    This significantly improves performance of operations that randomly
    access the input buffer (e.g., using a sampler), and seems not to
    pessimize operations with a more regular access pattern (e.g.,
    using an iterator, or scan rows).
    172d9b4f
Name
Last commit
Last update
..
.gitignore Loading commit data...
Makefile.am Loading commit data...
module.c Loading commit data...
module.h Loading commit data...
reflect.c Loading commit data...
rotate-on-center.c Loading commit data...
rotate.c Loading commit data...
scale-ratio.c Loading commit data...
scale-size-keepaspect.c Loading commit data...
scale-size.c Loading commit data...
shear.c Loading commit data...
transform-core.c Loading commit data...
transform-core.h Loading commit data...
transform.c Loading commit data...
translate.c Loading commit data...