Getting colder with our second freeze... it's 3.31.91 release day and string freeze, upload a tarball and lock those strings 🏂

Commit 95b0f791 authored by Ell's avatar Ell

long-shadow: process output in-place

After commit a5ce7c70b, we no
longer use a sampler in the finite-shadow case, and so we can
process the output in-place in this case too, which allows us to
safely set GeglOperation::want_in_place to TRUE.
parent d16ed56a
......@@ -1142,13 +1142,12 @@ gegl_op_class_init (GeglOpClass *klass)
operation_class->get_bounding_box = get_bounding_box;
operation_class->get_cached_region = get_cached_region;
/* FIXME: we want 'threaded == TRUE, want_in_place == FALSE' for finite
* shadows, and 'threaded == FALSE, want_in_place == TRUE' for infinite and
* fading shadows. right now, since there's no way to control these
* attributes dynamically, we settle for the lowest common denominator.
/* FIXME: we want 'threaded == TRUE' for finite shadows, and
* 'threaded == FALSE' for infinite and fading shadows. right now, there's
* no way to control this dynamically, so we settle for the latter.
operation_class->threaded = FALSE;
operation_class->want_in_place = FALSE;
operation_class->want_in_place = TRUE;
filter_class->process = process;
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