Gimp/app
Michael Natterer 517e58cdeb Address Bug 554983 – Layers Projection using GEGL
2008-10-09  Michael Natterer  <mitch@gimp.org>

	Address Bug 554983 – Layers Projection using GEGL

	* app/gegl/gimp-gegl-utils.[ch]: add (imcomplete) function
	gimp_layer_mode_to_gegl_operation() from bug #554983.

	* app/core/gimpdrawable.[ch]: add gimp_drawable_get_source_node()
	which returns a GimpOperationTileSource for the drawable's
	tiles.

	(gimp_drawable_real_set_tiles)
	(gimp_drawable_configure): set the node's "tiles" property.

	* app/core/gimplayer.[ch]: add gimp_layer_get_node() which returns
	a GeglNode with proxy "input" and "output" pads to be plugged
	into the projection graph. The node has children for opacity,
	mask, layer mode and layer offset.

	(gimp_layer_translate)
	(gimp_layer_add_mask)
	(gimp_layer_apply_mask)
	(gimp_layer_set_opacity)
	(gimp_layer_set_mode): reconfigure the respective nodes.

	* app/core/gimpimage.[ch]: keep a "graph" node around and destroy
	it in finalize(). Not even a stub, just a silly GEGL dependency.


svn path=/trunk/; revision=27204
2008-10-09 20:44:23 +00:00
..
actions Add GEGL_CFLAGS and #includes as if gimpdrawable.h and gimpimage.h had a 2008-10-09 20:24:04 +00:00
base use a GMutex instead of a GStaticMutex as the latter needs API that causes 2008-10-08 07:33:29 +00:00
composite removed trailing whitespace 2008-09-04 08:37:32 +00:00
config reorder sections consistently. Remove redundant CFLAGS. 2008-10-07 11:58:14 +00:00
core Address Bug 554983 – Layers Projection using GEGL 2008-10-09 20:44:23 +00:00
dialogs Add GEGL_CFLAGS and #includes as if gimpdrawable.h and gimpimage.h had a 2008-10-09 20:24:04 +00:00
display Add GEGL_CFLAGS and #includes as if gimpdrawable.h and gimpimage.h had a 2008-10-09 20:24:04 +00:00
file Add GEGL_CFLAGS and #includes as if gimpdrawable.h and gimpimage.h had a 2008-10-09 20:24:04 +00:00
gegl Address Bug 554983 – Layers Projection using GEGL 2008-10-09 20:44:23 +00:00
gui Add GEGL_CFLAGS and #includes as if gimpdrawable.h and gimpimage.h had a 2008-10-09 20:24:04 +00:00
menus Add GEGL_CFLAGS and #includes as if gimpdrawable.h and gimpimage.h had a 2008-10-09 20:24:04 +00:00
paint Add GEGL_CFLAGS and #includes as if gimpdrawable.h and gimpimage.h had a 2008-10-09 20:24:04 +00:00
paint-funcs reorder sections consistently. Remove redundant CFLAGS. 2008-10-07 11:58:14 +00:00
pdb Add GEGL_CFLAGS and #includes as if gimpdrawable.h and gimpimage.h had a 2008-10-09 20:24:04 +00:00
plug-in Add GEGL_CFLAGS and #includes as if gimpdrawable.h and gimpimage.h had a 2008-10-09 20:24:04 +00:00
text Add GEGL_CFLAGS and #includes as if gimpdrawable.h and gimpimage.h had a 2008-10-09 20:24:04 +00:00
tools Add GEGL_CFLAGS and #includes as if gimpdrawable.h and gimpimage.h had a 2008-10-09 20:24:04 +00:00
vectors Add GEGL_CFLAGS and #includes as if gimpdrawable.h and gimpimage.h had a 2008-10-09 20:24:04 +00:00
widgets Add GEGL_CFLAGS and #includes as if gimpdrawable.h and gimpimage.h had a 2008-10-09 20:24:04 +00:00
xcf Add GEGL_CFLAGS and #includes as if gimpdrawable.h and gimpimage.h had a 2008-10-09 20:24:04 +00:00
about.h updated copyright. 2008-01-24 17:07:51 +00:00
app.c Drop duplicated #include <gegl.h>. 2008-07-11 16:47:35 +00:00
app.h Allow other applications to open images in GIMP as if they were new images 2007-04-17 15:54:01 +00:00
batch.c app/app.c app/batch.c app/core/gimp.c use G_STRLOC instead of hardcoding 2008-02-19 13:38:24 +00:00
batch.h
errors.c added errors_exit() and unset the Gimp reference. Errors may occur after 2007-06-13 09:27:32 +00:00
errors.h added errors_exit() and unset the Gimp reference. Errors may occur after 2007-06-13 09:27:32 +00:00
fileicon.ico
gimp-intl.h
gimp-log.c Applied 'gimp-decimate.diff' as announced on the mailing-list: 2008-09-07 21:13:09 +00:00
gimp-log.h Applied 'gimp-decimate.diff' as announced on the mailing-list: 2008-09-07 21:13:09 +00:00
gimp.rc
gimpcore.def updated include <string.h> for memcmp() include <string.h> for strcmp() 2008-10-03 19:27:54 +00:00
main.c Code built by the still unstable mingw-w64 toolchain gets bogus argc and 2008-08-07 15:45:33 +00:00
Makefile.am app/Makefile.am change 2.6 to 2.7 here too. 2008-10-09 08:28:39 +00:00
makefile.msc updated include <string.h> for memcmp() include <string.h> for strcmp() 2008-10-03 19:27:54 +00:00
sanity.c INSTALL configure.in (gegl_required_version) depend on the newest released 2008-06-14 18:30:11 +00:00
sanity.h
unique.c app/widgets/Makefile.am app/widgets/gimpdbusservice.[ch] removed here ... 2008-07-13 19:49:32 +00:00
unique.h moved some common code back to main.c 2008-07-11 09:16:23 +00:00
units.c
units.h
version.c tweaked verbose version output. 2008-04-07 19:33:24 +00:00
version.h New files. Rename gimp_show_version() to gimp_version_show() and move 2008-02-26 14:02:44 +00:00
wilber.ico