Commit Graph

31273 Commits

Author SHA1 Message Date
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
Michael Natterer 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
Michael Natterer 0f38966664 app: store GimpImageMap's undo pixels as GeglBuffer, not TileManager 2012-05-02 17:46:10 +02:00
Michael Natterer c24710b23a app: remove swap_region() and its helper function 2012-05-02 17:46:10 +02:00
Michael Natterer 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
Michael Natterer 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
Øyvind Kolås 2ff19d7087 libgimp: flush underlying drawable on gegl_buffer_flush 2012-05-02 17:46:08 +02:00
Michael Natterer 1abf5d8e90 plug-ins: clean up goat-exercise.c so it is a better example 2012-05-02 17:46:08 +02:00
Michael Natterer e4acf6e9cf Require GEGL in gimp-2.0.pc 2012-05-02 17:46:08 +02:00
Michael Natterer 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
Michael Natterer f2aa2c2726 plug-ins: remove duplicate GEGL_CFLAGS from winsnap's Makefile.am 2012-05-02 17:46:08 +02:00
Michael Natterer efb82673de libgimp: make GimpTileBackendPlugin properly private, and some cleanup 2012-05-02 17:46:08 +02:00
Øyvind Kolås d1ced11415 plug-ins: add GEGL_CFLAGS to many Makefile.am's 2012-05-02 17:46:08 +02:00
Øyvind Kolås 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
Michael Natterer 153f56655a app: rename the buffer's tile_source_node to buffer_source_node 2012-05-02 17:46:08 +02:00
Michael Natterer 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
Michael Natterer 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
Michael Natterer 767e472fe8 app: port gimpimage-convert.c to gimp_drawable_set_buffer() 2012-05-02 17:46:07 +02:00
Michael Natterer 938c686daf app: minor cleanup and include removal 2012-05-02 17:46:07 +02:00
Michael Natterer 9d260c380b app: completely port gimpdrawable-convert.c to GeglBuffer 2012-05-02 17:46:07 +02:00
Michael Natterer be4dcb16d0 app: port GimpGroupLayer to gimp_buffer_set_tiles_full() 2012-05-02 17:46:07 +02:00
Michael Natterer 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
Michael Natterer c4f88e5166 app: port gimp_drawable_scale() to gimp_drawable_set_buffer_full() 2012-05-02 17:46:07 +02:00
Michael Natterer 715bd7cfbb app: port GimpDrawableModUndo to storing pixels as GeglBuffers 2012-05-02 17:46:07 +02:00
Michael Natterer 9774bb62e7 app: use hard-edges = TRUE when GEGL-scaling drawables 2012-05-02 17:46:07 +02:00
Michael Natterer d5795c0081 app: use a GeglBuffer instead of TileManager as storage in drawables \o/ 2012-05-02 17:46:06 +02:00
Michael Natterer 3a8248ccfe app: pass the right filter when GEGL-transfomring 2012-05-02 17:46:06 +02:00
Michael Natterer 765c2cfea2 app: replace GimpDraable's type by a Babl format
and change gimp_drawable_new() and all gimp_layer_new() variants to
take formats instead of types.
2012-05-02 17:46:06 +02:00
Michael Natterer cab21271fa app: add gimp_gegl_buffer_dup() which creates a TileManager backed dup 2012-05-02 17:46:06 +02:00
Michael Natterer 9b0634bbd4 app: remove gimp_layer_new_from_tiles(), it's now unused 2012-05-02 17:46:06 +02:00
Michael Natterer 07be967b45 app: remove gimp_selection_extract_buffer() again 2012-05-02 17:46:06 +02:00