Commit Graph

31453 Commits

Author SHA1 Message Date
Michael Natterer fd033afe11 app: factor out the creation of GeglOperation config proxy objects 2012-05-02 17:46:15 +02:00
Michael Natterer efbc4e61b0 app: more gegl_buffer_iterator_new() updates 2012-05-02 17:46:15 +02:00
Øyvind Kolås 9a22e2202f app: update with GEGL iterator API changes 2012-05-02 17:46:15 +02:00
Michael Natterer c3a818f8f8 app: properly sync the projection's tiles and their buffer
Esp. don't keep two buffer "views" on the tiles around,
2012-05-02 17:46:15 +02:00
Michael Natterer ebcf22ba82 app: use gegl_buffer_set_format() to "cast" a dest buffers format
in order to extract a src buffer's components
2012-05-02 17:46:15 +02:00
Øyvind Kolås f68c3c7051 app: adapt to API changes in GEGL 2012-05-02 17:46:15 +02:00
Michael Natterer 2b6b5a8ada app: remove unused base/ includes 2012-05-02 17:46:15 +02:00
Michael Natterer f084704fbd app: ask the buffer not the tile manager for its size 2012-05-02 17:46:15 +02:00
Michael Natterer 9d8d72a6ee app: remove color_region() 2012-05-02 17:46:14 +02:00
Michael Natterer 9a1fbe9418 app: remove obsolete include from gimpchannel.c 2012-05-02 17:46:14 +02:00
Michael Natterer dab97df012 app: remove the TileValidateProc from gimp_channel_new_mask()
and simply gegl_buffer_clear() the thing instead.
2012-05-02 17:46:14 +02:00
Michael Natterer b08ba684cf app: replace border_region() by GimpOperationBorder 2012-05-02 17:46:14 +02:00
Michael Natterer 8fc7c17d39 app: replace fatten_region() by GimpOperationGrow 2012-05-02 17:46:14 +02:00
Michael Natterer 30baaded87 app: clean up the new shrink op 2012-05-02 17:46:14 +02:00
Michael Natterer fa072f0cd4 app: remove thin_region(), turns out that gimp:shrink was not slow after all 2012-05-02 17:46:14 +02:00
Michael Natterer 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
Michael Natterer 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
Michael Natterer 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
Michael Natterer a0ce43dc93 app: don't pass 1.0 as boolean value, not that it would change anything... 2012-05-02 17:46:13 +02:00
Michael Natterer f036b77f9a app: fix typo that caused wrong paint apply offset in bucket fill 2012-05-02 17:46:13 +02:00
Øyvind Kolås c872a9368e app: sprinkle level argument over process functions 2012-05-02 17:46:13 +02:00
Michael Natterer 942ed2316b app: remove gimp_drawable_process_lut() 2012-05-02 17:46:13 +02:00
Michael Natterer cf86aeceb3 app: add GimpOperationEqualize and port equalize to it 2012-05-02 17:46:13 +02:00
Michael Natterer 8d5471502e app: move GimpHistogram from base/ to core/ 2012-05-02 17:46:13 +02:00
Michael Natterer 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
Michael Natterer 72cd3c0fc8 app: add our own GimpOperationNormalMode so we can opt out of premultiply 2012-05-02 17:46:12 +02:00
Michael Natterer 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
Michael Natterer 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
Michael Natterer 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
Michael Natterer 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
Michael Natterer bfd54a69b7 app: implement "disable layer mask" in the GEGL graph 2012-05-02 17:46:12 +02:00
Michael Natterer 061e044e0a app: change GimpDrawable::replace_region() by ::replace_buffer() 2012-05-02 17:46:12 +02:00
Michael Natterer a4c83d13ed app: forgot to remove the Threshold cruft typedef 2012-05-02 17:46:12 +02:00
Michael Natterer cde58408fa app: remove the legacy levels cruft 2012-05-02 17:46:12 +02:00
Michael Natterer a34b19774b app: remove the legacy curves cruft
and move PDB parameter collection into GimpCurvesConfig convenience
constructors.
2012-05-02 17:46:11 +02:00
Michael Natterer 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
Michael Natterer 5bc683f6bc app: make gimpdrawable-combine.c more readable before proceeding 2012-05-02 17:46:11 +02:00
Michael Natterer 4bcddb04a2 app: turn gimp_drawable_apply_buffer()'s src1_tiles argument into base_buffer 2012-05-02 17:46:11 +02:00
Michael Natterer 579d894778 app: turn GimpDrawable::apply_region() into ::apply_buffer()
and GimpDrawableUndo.src2_tiles into applied_buffer.
2012-05-02 17:46:11 +02:00
Michael Natterer 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
Michael Natterer ea8eebcd47 app: support TempBuf backed buffer in gimp_drawable_apply_buffer() 2012-05-02 17:46:11 +02:00
Michael Natterer d9825e0aea app: use gimp_drawable_apply_buffer() for legacy FS composition 2012-05-02 17:46:11 +02:00
Michael Natterer 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
Michael Natterer fe1f140e1a app: port blend to gimp_drawable_apply_buffer() 2012-05-02 17:46:11 +02:00
Michael Natterer 6dfaf8ae50 app: more gimp_drawable_apply_region() -> apply_buffer() 2012-05-02 17:46:10 +02:00
Michael Natterer d2506e43bc app: flush and refetch the shadow buffer before handing it out 2012-05-02 17:46:10 +02:00
Michael Natterer 99ae46b4ed app: turn the drawable's shadow tiles into a shadow buffer 2012-05-02 17:46:10 +02:00
Michael Natterer dbc881376e app: add gimp_drawable_apply_buffer() and port edit, bucket fill, stroke 2012-05-02 17:46:10 +02:00
Michael Natterer 6534ebb866 app: more copy_region() -> gegl_buffer_copy() 2012-05-02 17:46:10 +02:00
Michael Natterer c401cf4cba app: tile_manager_read_pixel_data_1() -> gegl_buffer_sample() 2012-05-02 17:46:10 +02:00