1. 28 Mar, 2019 2 commits
    • Ell's avatar
      cache: make a GeglOperationFilter · ad8aa8f1
      Ell authored
      Since gegl:cache can't actually be used as part of point-op
      pipelines, as it doesn't do in-place processing, let's just make it
      a GeglOperationFilter, like the rest of the core/ ops, to avoid
      redundancy, and make stuff more consistent.
      ad8aa8f1
    • Ell's avatar
      cache: add fast GeglOperationFilter::process() implementation · d9c08c66
      Ell authored
      In gegl:cache, override GeglOperationFilter::process() and simply
      gegl_buffer_copy() input -> output so that tiles can be COWed,
      instead of using memcpy() in GeglOperationPointFilter::process().
      Keep the latter for the sake of wip/pipeline.
      d9c08c66
  2. 21 Feb, 2019 1 commit
    • Ell's avatar
      operations: replace use of no_cache with cache_policy · 0f0d193a
      Ell authored
      In all operations, replace the use of the deprecated
      GeglOperationClass::no_cache with GeglOperationClass::cache_policy.
      
      For ops that don't have a reason to control caching directly,
      remove cache-policy setting altogether.
      0f0d193a
  3. 03 Feb, 2019 1 commit
  4. 25 Nov, 2018 1 commit
  5. 12 Nov, 2018 1 commit
  6. 11 Nov, 2018 1 commit
    • Ell's avatar
      operations: make module.c dependent on Makefile · 8bf81796
      Ell authored
      Make the various module.c files dependent on the corresponding
      Makefile, so that they get regenerated whenever the corresponding
      Makefile.am changes, configure.ac changes, or GEGL is reconfigured.
      8bf81796
  7. 06 Sep, 2018 1 commit
    • Debarshi Ray's avatar
      Fix the type casts for babl_space_from_icc · d77fd17e
      Debarshi Ray authored
      For reference, here's the signature of babl_space_from_icc:
      const Babl *babl_space_from_icc (const char       *icc_data,
                                       int               icc_length,
                                       BablIccIntent     intent,
                                       const char      **error);
      
      ... and JOCTET can be defined as either a signed or unsigned char:
      #ifdef HAVE_UNSIGNED_CHAR
      typedef unsigned char JOCTET;
      #define GETJOCTET(value)  (value)
      #else /* not HAVE_UNSIGNED_CHAR */
      typedef char JOCTET;
      #ifdef __CHAR_UNSIGNED__
      #define GETJOCTET(value)  (value)
      #else
      #define GETJOCTET(value)  ((value) & 0xFF)
      #endif /* __CHAR_UNSIGNED__ */
      #endif /* HAVE_UNSIGNED_CHAR */
      d77fd17e
  8. 16 Jul, 2018 2 commits
  9. 15 Jul, 2018 1 commit
  10. 11 Jul, 2018 1 commit
  11. 17 May, 2018 1 commit
    • Ell's avatar
      convert-format: perform copy in GeglOperationFilter::process() · 923b4390
      Ell authored
      When the input and output formats are different, perform the copy
      (and hence the conversion) from the input buffer to the output
      buffer in GeglOperationFilter::process(), rather than
      GeglOperation::process(), so that it's parallelized.
      923b4390
  12. 04 Apr, 2018 1 commit
  13. 21 Nov, 2017 1 commit
  14. 12 Nov, 2017 1 commit
  15. 30 Oct, 2017 1 commit
  16. 03 Jul, 2017 1 commit
  17. 02 Jul, 2017 1 commit
  18. 05 May, 2017 1 commit
  19. 03 May, 2017 1 commit
  20. 11 Apr, 2017 1 commit
  21. 20 Mar, 2017 1 commit
  22. 09 Mar, 2017 1 commit
  23. 27 Feb, 2017 1 commit
  24. 03 Feb, 2017 2 commits
  25. 30 Jan, 2017 2 commits
  26. 29 Jan, 2017 1 commit
  27. 20 Dec, 2016 1 commit
    • Ell's avatar
      crop: don't depend on the input node's bounding box ... · 808501c6
      Ell authored
      ... in process()
      
      At this point we already have the input buffer, and since what we
      really care about is making sure that the output buffer is a
      subset of it, we can use its extent directly.
      808501c6
  28. 06 Dec, 2016 1 commit
    • Ell's avatar
      crop: don't depend on the input node's bounding box ... · 9b3e9422
      Ell authored
      ... in get_invalidated_by_change() and get_required_for_output()
      
      This partially reverts commit 09e6133a.
      
      The dependency on the input's boudning box is mostly important for
      calculating the size of the output buffer (see the commit message of
      the aforementioned commit), and not strictly required for these
      functions (altough possibly more accurate).  This dependency did,
      however, cause at least one issue (see previous commit), and the
      calculation of the input's bounding box can be more expensive than
      we'd like here, so reverting it for now, to stay on the safe side.
      9b3e9422
  29. 03 Dec, 2016 1 commit
    • Ell's avatar
      crop: clip crop rect to input extents · 09e6133a
      Ell authored
      If we don't do that, then the operation's output buffer, which is
      a subbuffer of the input buffer, may contain regions that are not
      backed by any storage, when the crop rect is not a subset of the
      input buffer's extents.  If the output buffer is then resued for
      in-place output as part of a following node, on the premise that
      it actually is as big as it pretends to be, then any output
      written to these regions is erroneously discarded.
      09e6133a
  30. 26 Sep, 2016 1 commit
  31. 20 Sep, 2016 4 commits
  32. 07 Sep, 2016 1 commit
  33. 04 Jun, 2016 1 commit