Gimp/app
Ell 3635cf04ab app: move bottom-layer special casing to GimpOperationLayerMode
GimpFilter's is_last_node field only reflects the item's position
within the parent stack.  When a layer is contained in a pass-
through group, it can be the last layer of the group, while not
being the last layer in the graph as a whole (paticularly, if
there are visible layers below the group).  In fact, when we have
nested pass-through groups, whether or not a layer is the last
node depends on which group we're considering as the root (since
we exclude the backdrop from the group's projection, resulting in
different graphs for different groups).

Instead of rolling our own graph traversal, just move the relevant
logic to GimpOperationLayerMode, and let GEGL do the work for us.
At processing time, we can tell if we're the last node by checking
if we have any input.

For this to work, GimpOperationLayerMode's process() function needs
to have control over what's going on.  Replace the derived op
classes, which override process(), with a call to the layer mode's
function (as per gimp_layer_mode_get_function()) in
GimpOperationLayerMode's process() function.  (Well, actually, this
commit keeps the ops around, and just hacks around them in
gimp_layer_mode_get_operation(), because laziness :P)

Keep using the layer's is_last_node property to do the invalidation.
2017-08-08 15:39:28 -04:00
..
actions app, menus: add gegl:spiral to the menus 2017-07-28 17:48:03 -04:00
config app: make number-of-threads default value calculation less obfuscated 2017-07-29 00:08:59 +02:00
core app: move bottom-layer special casing to GimpOperationLayerMode 2017-08-08 15:39:28 -04:00
dialogs app: use a lot of g_clear_object() and g_clear_pointer() 2017-07-15 18:42:44 +02:00
display app: use {begin,end}_render() and GimpTileHandlerProjectable ... 2017-08-08 15:39:27 -04:00
file app, libgimp: allow to register more than one MIME type per procedure 2017-05-04 23:22:37 +02:00
gegl Bug 785890 - libappgegl doesn't use SSE2 compiler flags ... 2017-08-06 14:13:01 -04:00
gui app: move new "about.h" include to its place, add some newlines 2017-06-07 20:53:48 +02:00
menus Bug 750180 - Fix different ways of writing Plug-in Plug-In Plugin. 2017-03-21 17:52:22 +01:00
operations app: move bottom-layer special casing to GimpOperationLayerMode 2017-08-08 15:39:28 -04:00
paint Bug 785001 - Enhanced smudge tool: Smudge with painting 2017-07-23 14:44:22 +02:00
pdb Bug 785535 - Histogram not updating in real when filters are active 2017-08-05 17:15:31 +02:00
plug-in app: minor s/placeolder/placeholder/ 2017-07-28 22:57:09 +02:00
propgui app: swap base and balance slider order in spiral 2017-07-30 07:40:44 -04:00
tests app: move all propgui files from app/widgets/ to new folder app/propgui/ 2017-07-03 12:29:41 +02:00
text app: use a lot of g_clear_object() and g_clear_pointer() 2017-07-15 18:42:44 +02:00
tools Bug 785535 - Histogram not updating in real when filters are active 2017-08-05 17:15:31 +02:00
vectors app: use a lot of g_clear_object() and g_clear_pointer() 2017-07-15 18:42:44 +02:00
widgets Bug 785535 - Histogram not updating in real when filters are active 2017-08-05 17:15:31 +02:00
xcf app: don't propagate NULL error when saving XCFs 2017-07-28 16:51:08 -04:00
.gitignore
about.h
app.c app: split sanity check into early/late stages, to fix gegl translation 2017-06-15 09:51:25 -04:00
app.h
errors.c Bug 774971 - Display errors outputted by GEGL. 2017-06-07 15:51:33 +02:00
errors.h
gimp-debug.c
gimp-debug.h
gimp-intl.h
gimp-log.c
gimp-log.h app: turn magic matching debug output into GIMP_LOG() 2017-07-28 22:35:13 +02:00
gimp-priorities.h
gimpcore.def
language.c
language.h
main.c app: split sanity check into early/late stages, to fix gegl translation 2017-06-15 09:51:25 -04:00
Makefile.am app: move all propgui files from app/widgets/ to new folder app/propgui/ 2017-07-03 12:29:41 +02:00
sanity.c app, menus: add gegl:spiral to the menus 2017-07-28 17:48:03 -04:00
sanity.h app: split sanity check into early/late stages, to fix gegl translation 2017-06-15 09:51:25 -04:00
signals.c
signals.h
tests.c
tests.h
unique.c
unique.h
version.c
version.h