8fc7c17d39
app: replace fatten_region() by GimpOperationGrow
2012-05-02 17:46:14 +02:00
30baaded87
app: clean up the new shrink op
2012-05-02 17:46:14 +02:00
fa072f0cd4
app: remove thin_region(), turns out that gimp:shrink was not slow after all
2012-05-02 17:46:14 +02:00
03b15ea668
app: remove "dont-cache" from gimp_apply_opeation()
...
it slows down all ops which wan to process the entire buffer in one
go, like the new gimp:shrink.
2012-05-02 17:46:13 +02:00
be853cd239
app: remove "gboolean linear" from all apply_operation APIs
...
thes were all unused and we want to get rid of that anyway.
2012-05-02 17:46:13 +02:00
cbb2766f07
app: add GimpOperationShrink which does "shrink selection"
...
but it's horribly slow, so keep the old code around for now and make
the new one depend on use_gegl.
2012-05-02 17:46:13 +02:00
a0ce43dc93
app: don't pass 1.0 as boolean value, not that it would change anything...
2012-05-02 17:46:13 +02:00
f036b77f9a
app: fix typo that caused wrong paint apply offset in bucket fill
2012-05-02 17:46:13 +02:00
c872a9368e
app: sprinkle level argument over process functions
2012-05-02 17:46:13 +02:00
942ed2316b
app: remove gimp_drawable_process_lut()
2012-05-02 17:46:13 +02:00
cf86aeceb3
app: add GimpOperationEqualize and port equalize to it
2012-05-02 17:46:13 +02:00
8d5471502e
app: move GimpHistogram from base/ to core/
2012-05-02 17:46:13 +02:00
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