1. 04 Oct, 2017 1 commit
  2. 20 Aug, 2017 2 commits
  3. 17 Aug, 2017 1 commit
    • Ell's avatar
      app: layer mode code shuffling · 71bbd88e
      Ell authored
      Commit 3635cf04 moved the special
      handling of bottom-layer compositing to GimpOperationLayerMode.
      This required giving the op more control over the process()
      function of its subclasses.  As a temporary workaround, the commit
      bypassed the subclasses entirely, using "gimp:layer-mode" for all
      modes.  This is the reckoning :)
      
      Add a process() virtual function to GimpOperationLayerMode, which
      its subclasses should override instead of
      GeglOperationPointComposer3's process() functions.  Reinstate the
      subclasses (by returning the correct op in
      gimp_layer_mode_get_oepration()), and have them override this
      function.
      
      Improve the way gimp_operation_layer_mode_process() dispatches to
      the actual process function, to slightly lower its overhead and
      fix some thread-safety issues.
      
      Remove the "function" field of the layer-mode info array, and have
      gimp_layer_mode_get_function() return the
      GimpOperationLayerMode::process() function of the corresponding
      op's class (caching the result, to keep it cheap.)  This reduces
      redundancy, allows us to make the ops' process() functions private,
      and simplifies SSE dispatching (only used by NORMAL mode,
      currently.)
      
      Move the blend and composite functions of the non-specialized
      layer modes to gimpoperationlayermode-{blend,composite}.[hc],
      respectively, to improve code organization.
      
      Move the SSE2 composite functions to a separate file, so that they
      can be built as part of libapplayermodes_sse2, allowing
      libapplayermodes to be built without SSE2 compiler flags.  This
      allows building GIMP with SSE acceleration enabled, while running
      the resulting binary on a target with no SSE accelration.
      
      Add a "blend_function" field to the layer-mode info array, and use
      it to specify the blend function for the non-specialized modes.
      This replaces the separate switch() statement that we used
      previously.
      
      Remove the "affected_region" field of the layer-mode info array.
      We don't need it anymore, since we can go back to using
      GimpOperationLayerMode's virtual get_affected_region() function.
      
      Last but not least, a bunch of code cleanups and consistency
      adjustments.
      71bbd88e
  4. 03 Jul, 2017 1 commit
  5. 26 Feb, 2017 1 commit
  6. 31 Jan, 2017 1 commit
  7. 28 Jan, 2017 1 commit
  8. 17 Jan, 2017 1 commit
  9. 15 Jan, 2017 1 commit
  10. 10 Jan, 2017 1 commit
  11. 09 Jan, 2017 3 commits
  12. 08 Jan, 2017 1 commit
  13. 31 Jul, 2016 2 commits
  14. 02 Jun, 2016 1 commit
  15. 26 May, 2016 1 commit
  16. 11 Jan, 2016 1 commit
  17. 04 Jan, 2016 1 commit
  18. 03 Jan, 2016 2 commits
  19. 28 Dec, 2015 1 commit
  20. 22 Dec, 2015 1 commit
  21. 25 Nov, 2015 1 commit
  22. 27 Aug, 2015 2 commits
  23. 16 Jul, 2015 1 commit
  24. 03 Jul, 2015 3 commits
  25. 17 Jun, 2015 1 commit
  26. 15 Apr, 2015 1 commit
  27. 13 Apr, 2015 1 commit
  28. 07 Dec, 2014 1 commit
  29. 06 Nov, 2014 1 commit
  30. 16 Aug, 2014 1 commit
    • Jehan's avatar
      Fix make distcheck. · c4dbb341
      Jehan authored
      Use srcdir/abs_srcdir in Makefile.am for dealing with VPATH builds.
      c4dbb341
  31. 15 Aug, 2014 2 commits
    • Jehan's avatar
      tests: gimp_test_utils_synthesize_key_event() not working for win32. · 2b64efc1
      Jehan authored
      gdk_test_simulate_key() has currently no win32 implementation.
      Add this implementation in our code until a patch to GTK+ for this is
      merged. This fixes 2 `make check` tests for win32.
      2b64efc1
    • Jehan's avatar
      tests: build the test icon theme for all platforms. · b1fc539f
      Jehan authored
      In particular, we were not building these for win32, which has no
      symbolic link concept. So let's use $(LN_S) defined by autoconf for this
      purpose, as it will copy files for platforms without ln support.
      Moreover this way, we don't create one such folder for each and every
      test run and fill up the tmp directory with countless directories, that
      we never clean up.
      On Win32, this fixes 3 tests which were failing because of the missing
      icons.
      b1fc539f