• Ell's avatar
    gegl/operation, operations: adapt to previous commit · 1fbd84cc
    Ell authored
    Rename gegl_operation_get_min_threaded_sub_size() to
    gegl_operation_get_pixels_per_thread().  This function returns the
    (very hypothetical, ATM) cost of using each additional thread for
    processing the operation, realtive to the cost of processing a
    single pixel.  As before, it simply returns 64 * 64 for now.  This
    function is meant to be used for the thread_cost parameter of
    gegl_parallel_distribute_area().
    
    Use the new function in the auto-threaded operation classes, and in
    manually-threaded operations using gegl_parallel_distribute_area().
    Additionally, use the function in manually-threaded operations
    using gegl_parallel_distribute_range(), by dividing its result by
    the relevant dimension of the processed area.
    1fbd84cc
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...
scale.c Loading commit data...
scale.h 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...