de0321a82e
app: add gimp_gegl_node_set_layer_mode()
...
and remove all other code that does layer_mode -> node.
2012-05-02 17:46:13 +02:00
72cd3c0fc8
app: add our own GimpOperationNormalMode so we can opt out of premultiply
2012-05-02 17:46:12 +02:00
e947bb2c39
app: add a "premultiplied" property to GimpOperationPointLayerMode
...
and default to TRUE. While premultiplied is the right thing to do for
the projection, we can't have it bleeding blackness into our pixels
when using the mode ops for applying paint to drawables, so we will
have to implement each layer mode with both options.
2012-05-02 17:46:12 +02:00
fb74b9e822
app: chnage gimp_gegl_create_apply_opacity_node()'s mask offset
...
to be the offset *of* the mask, not the offset *into* the mask, also
reorder parameters.
2012-05-02 17:46:12 +02:00
5ad9b6fdd9
app: add gimp_gegl_create_apply_buffer_node()
...
which creates a graph that applies paint, and factor out
gimp_gegl_add_buffer_source() which adds a buffer source with optional
offset to a graph.
2012-05-02 17:46:12 +02:00
7223af17a2
app: completely port GimpDrawable::apply_region()'s API to GeglBuffer
...
and pass lots of coords that were hidden inside PixelRegions
explicitly.
2012-05-02 17:46:12 +02:00
bfd54a69b7
app: implement "disable layer mask" in the GEGL graph
2012-05-02 17:46:12 +02:00
061e044e0a
app: change GimpDrawable::replace_region() by ::replace_buffer()
2012-05-02 17:46:12 +02:00
a4c83d13ed
app: forgot to remove the Threshold cruft typedef
2012-05-02 17:46:12 +02:00
cde58408fa
app: remove the legacy levels cruft
2012-05-02 17:46:12 +02:00
a34b19774b
app: remove the legacy curves cruft
...
and move PDB parameter collection into GimpCurvesConfig convenience
constructors.
2012-05-02 17:46:11 +02:00
3bb973f24b
app: pass the right undo buffer and extents to gimp_drawable_push_undo()
...
the coords need to be in drawable bounds now that we got rid of the
weird sparse logic.
2012-05-02 17:46:11 +02:00
5bc683f6bc
app: make gimpdrawable-combine.c more readable before proceeding
2012-05-02 17:46:11 +02:00
4bcddb04a2
app: turn gimp_drawable_apply_buffer()'s src1_tiles argument into base_buffer
2012-05-02 17:46:11 +02:00
579d894778
app: turn GimpDrawable::apply_region() into ::apply_buffer()
...
and GimpDrawableUndo.src2_tiles into applied_buffer.
2012-05-02 17:46:11 +02:00
ca734f91b7
app: port gimp_paint_core_paste() to gimp_drawable_apply_buffer()
...
using the new TempBuf-GeglBuffer.
2012-05-02 17:46:11 +02:00
ea8eebcd47
app: support TempBuf backed buffer in gimp_drawable_apply_buffer()
2012-05-02 17:46:11 +02:00
d9825e0aea
app: use gimp_drawable_apply_buffer() for legacy FS composition
2012-05-02 17:46:11 +02:00
91c33799e4
app: use utility functions to create a GeglBuffer from a TempBuf
...
and to get it back from the buffer.
2012-05-02 17:46:11 +02:00
fe1f140e1a
app: port blend to gimp_drawable_apply_buffer()
2012-05-02 17:46:11 +02:00
6dfaf8ae50
app: more gimp_drawable_apply_region() -> apply_buffer()
2012-05-02 17:46:10 +02:00
d2506e43bc
app: flush and refetch the shadow buffer before handing it out
2012-05-02 17:46:10 +02:00
99ae46b4ed
app: turn the drawable's shadow tiles into a shadow buffer
2012-05-02 17:46:10 +02:00
dbc881376e
app: add gimp_drawable_apply_buffer() and port edit, bucket fill, stroke
2012-05-02 17:46:10 +02:00
6534ebb866
app: more copy_region() -> gegl_buffer_copy()
2012-05-02 17:46:10 +02:00
c401cf4cba
app: tile_manager_read_pixel_data_1() -> gegl_buffer_sample()
2012-05-02 17:46:10 +02:00
6c59c45612
app: replace GimpPaintCore's undo_tiles by a GeglBuffer
...
and simply use a dumb straight copy of the drawable, it's GEGL's job
to do proper COW.
2012-05-02 17:46:10 +02:00
0f38966664
app: store GimpImageMap's undo pixels as GeglBuffer, not TileManager
2012-05-02 17:46:10 +02:00
c24710b23a
app: remove swap_region() and its helper function
2012-05-02 17:46:10 +02:00
904a35d722
app: remove width, height from GimpDrawableUndo and GimpDrawable::swap_tiles()
...
because we always store/swap a buffer of the actual size now.
2012-05-02 17:46:09 +02:00
a0c1007b66
app: port GimpDrawableUndo, GimpDrawable::push_undo() and ::swap_tiles()
...
which gets rid of the manual implementation of sparse undo buffers,
but GEGL will take care of proper COW here soo enough.
2012-05-02 17:46:08 +02:00
2ff19d7087
libgimp: flush underlying drawable on gegl_buffer_flush
2012-05-02 17:46:08 +02:00
1abf5d8e90
plug-ins: clean up goat-exercise.c so it is a better example
2012-05-02 17:46:08 +02:00
e4acf6e9cf
Require GEGL in gimp-2.0.pc
2012-05-02 17:46:08 +02:00
e9c387679b
plug-ins: fix mkgen.pl to pass the destdir newly required by make_file()
...
Also, add support for "gegl => 1" in plugin-degs.pl and regenerated
all build files.
2012-05-02 17:46:08 +02:00
f2aa2c2726
plug-ins: remove duplicate GEGL_CFLAGS from winsnap's Makefile.am
2012-05-02 17:46:08 +02:00
efb82673de
libgimp: make GimpTileBackendPlugin properly private, and some cleanup
2012-05-02 17:46:08 +02:00
d1ced11415
plug-ins: add GEGL_CFLAGS to many Makefile.am's
2012-05-02 17:46:08 +02:00
4bdbff08d7
libgimp: add a GeglBuffer backend for plug-ins
...
Also added an API to get GeglBuffers for drawables, you choose whether you
get.
2012-05-02 17:46:08 +02:00
153f56655a
app: rename the buffer's tile_source_node to buffer_source_node
2012-05-02 17:46:08 +02:00
a982a5ea3a
app: change GimpDrawable::get_tiles() to ::get_buffer()
...
and shuffle code around because the other API is now virtual.
2012-05-02 17:46:07 +02:00
f8f4455459
app: change GimpDrawable::set_tiles() to ::set_buffer()
...
and remove the "type" argument, GeglBuffers have a format.
2012-05-02 17:46:07 +02:00
767e472fe8
app: port gimpimage-convert.c to gimp_drawable_set_buffer()
2012-05-02 17:46:07 +02:00
938c686daf
app: minor cleanup and include removal
2012-05-02 17:46:07 +02:00
9d260c380b
app: completely port gimpdrawable-convert.c to GeglBuffer
2012-05-02 17:46:07 +02:00
be4dcb16d0
app: port GimpGroupLayer to gimp_buffer_set_tiles_full()
2012-05-02 17:46:07 +02:00
5a7b7d9a4b
app: add gimp_gegl_buffer_get_tile_manager()
...
and ust it in some get_memsize() functions instead of having a
FIXME. So many files changed because they need to inlcude <gegl.h>
now.
2012-05-02 17:46:07 +02:00
c4f88e5166
app: port gimp_drawable_scale() to gimp_drawable_set_buffer_full()
2012-05-02 17:46:07 +02:00
715bd7cfbb
app: port GimpDrawableModUndo to storing pixels as GeglBuffers
2012-05-02 17:46:07 +02:00
9774bb62e7
app: use hard-edges = TRUE when GEGL-scaling drawables
2012-05-02 17:46:07 +02:00