Commit Graph

31218 Commits

Author SHA1 Message Date
Øyvind Kolås f8b1372038 app: make use of GIMP_GEGL_RECT in more places 2012-05-02 17:46:05 +02:00
Øyvind Kolås 84b914ce63 app: fix initialization of variable in gimp_layer_get_opacity_at 2012-05-02 17:46:05 +02:00
Øyvind Kolås 390d48d436 app: add a GIMP_GEGL_RECT utility macro
It is evil, but it is possible to take the address of an inline defined struct
as an argument in C. =)
2012-05-02 17:46:05 +02:00
Michael Natterer 6274b269ca app: add gimp_drawable_set_buffer() and set_buffer_full() 2012-05-02 17:46:05 +02:00
Øyvind Kolås fe3220ae6f app: remove write property of GeglBuffer backend 2012-05-02 17:46:05 +02:00
Øyvind Kolås ec3dc3870f app: GeglBuffer tile backend - add ability to combine tiles
Add ability to combine tiles, this removes the zero copy case, but permits
using only a single buffer as the view on the tiles.

For the projection (or any othe tiles that have a invalidate_proc set, the
old code paths and 1x1 tiles are used - (including 0 copy for now - but always
requesting write access for the tiles.)
2012-05-02 17:46:05 +02:00
Michael Natterer 1a1fd29982 app: add gimp_gegl_buffer_get_tiles() 2012-05-02 17:46:05 +02:00
Michael Natterer 0bcae125b5 app: merge gimp_drawable_get_read_buffer() and get_write_buffer()
into get_buffer(). The loss of zero copy will be compensated soon.
2012-05-02 17:46:04 +02:00
Michael Natterer f5bfdde30a app: add gimp_gegl_buffer_new() to create a TileManager-backed buffer 2012-05-02 17:46:04 +02:00
Michael Natterer 5e176d3cd7 app: port gimp_image_crop_auto_shrink() to GEGL 2012-05-02 17:46:04 +02:00
Michael Natterer f67bcfa82b app: port the entire GimpScanConvert API to GeglBuffer 2012-05-02 17:46:04 +02:00
Michael Natterer 113f01feb2 app: port gimp_scan_convert_render_full() to GeglBufferIterator 2012-05-02 17:46:04 +02:00
Michael Natterer 3441d009f8 app: remove unused tile-manager.h include 2012-05-02 17:46:04 +02:00
Michael Natterer e01189ca77 app: remove checks from stuff that now works on indexed layers 2012-05-02 17:46:04 +02:00
Michael Natterer 0053494c18 app: apply patch from Villa Sokk that implements GimpOperationDissolveMode 2012-05-02 17:46:03 +02:00
Michael Natterer dcfcfcf433 app: port GimpBoundary to GEGL, including its API 2012-05-02 17:46:03 +02:00
Michael Natterer cbb7b71599 app: remove shade_pixels(), no clue when it became unused 2012-05-02 17:46:03 +02:00
Michael Natterer 09f9a91a27 app: forgot to remove extract_alpha_region()'s declaration 2012-05-02 17:46:03 +02:00
Michael Natterer bc75626d99 app: remove extract_from_region() and its helper functions 2012-05-02 17:46:03 +02:00
Michael Natterer f45df7fe35 app: port gimp_selection_extract() to GEGL 2012-05-02 17:46:03 +02:00
Michael Natterer f680a562b2 app: save some lines of code in gimp_gegl_create_apply_opacity_node() 2012-05-02 17:46:03 +02:00
Michael Natterer 69c52173fb app: change gimp_gegl_color_set_rgba() to gimp_gegl_color_new()
which saves one line of code in every single use case.
2012-05-02 17:46:03 +02:00
Michael Natterer 8a7ea1c25a app: add a use_gegl case in gimp_drawable_transform_tiles_affine()
which essentially implements the GEGL-based transform tool.
2012-05-02 17:46:03 +02:00
Michael Natterer 254ad23b28 app: be smarter about progress in gimp_apply_operation()
so an already started progress can be passed in.
2012-05-02 17:46:03 +02:00
Michael Natterer e613af7b46 app: implement "show layer mask" in the GEGL graph 2012-05-02 17:46:02 +02:00
Michael Natterer 411b1b6f4b app: make test-gimptilebackendtilemanager.c build again 2012-05-02 17:46:02 +02:00
Michael Natterer 14b381756b app: fill the smudge accum buffer with GEGL 2012-05-02 17:46:02 +02:00
Michael Natterer dd539f199b app: remove extract_alpha_region() and its helper functions 2012-05-02 17:46:02 +02:00
Michael Natterer 34ef32ff78 app: replace some region operations in blend by GEGL 2012-05-02 17:46:02 +02:00
Michael Natterer 58dfa962a1 app: port simple rotating and flipping to GEGL
Which requires making the entire copy/paste apparatus aware of the
Babl format of the passed around tile managers.
2012-05-02 17:46:02 +02:00
Michael Natterer 2c62644f94 app: BoundSeg -> GimpBoundSeg, boundary_foo() -> gimp_boundary_foo() 2012-05-02 17:46:02 +02:00
Michael Natterer 9323c2f28c app: move base/boundary.[ch] to core/gimpboundary.[ch]
No other changes yet, just make the move build.
2012-05-02 17:46:02 +02:00
Michael Natterer 62a23f8a89 app: port drawable'e and projection's get_pixel_at() to gegl_buffer_sample() 2012-05-02 17:46:02 +02:00
Michael Natterer 6f6c42a9c3 app: port gimp_channel_combine_mask() to GeglBufferIterator 2012-05-02 17:46:01 +02:00
Michael Natterer ff49117edc app: remove color_region_mask() 2012-05-02 17:46:01 +02:00
Michael Natterer 6eb015493d app: remove pattern_region() 2012-05-02 17:46:01 +02:00
Michael Natterer 47453eb36b app: remove unused include from gimp-edit.c 2012-05-02 17:46:01 +02:00
Michael Natterer 1b44953352 app: port bucket fill to GEGL
Add mask offset parameters to gimp_gegl_create_apply_opacity_node()
so it's possible to use a part of the mask only, bucket fill
uses that to avoid uneccessary work where the mask is empty.

Should use the same in gimp_drawable_stroke_scan_convert().
2012-05-02 17:46:01 +02:00
Michael Natterer 1780cfc1e7 app: remove the !seed_fill case from gimp_drawable_bucket_fill()
We use gimp_edit_fill() for that now. Also remove bucket fill's
_full() variant because it's unused now.
2012-05-02 17:46:01 +02:00
Michael Natterer 3ec245a991 app: add opacity and paint_mode to gimp_edit_fill[_full]()
and use it instead of bucket-fill in the non-seed-fill case.
2012-05-02 17:46:01 +02:00
Øyvind Kolås cdf503ab96 app: make the GEGL tool work on indexed images
With the recent refactoring, there is nothing that stops GEGL operations from
working on indexed images.
2012-05-02 17:46:01 +02:00
Michael Natterer ffeb3515db app: add gimp_edit_fill_full() which takes color and pattern
and use it for dropping colors and patterns on the display
and on the layers dialog, instead of using the overkill
gimp_drawable_bucket_fill_full().
2012-05-02 17:46:01 +02:00
Michael Natterer 9d333190d6 app: simplify gimp_edit_fill_internal() by adding color and pattern arguments
instead of context and fill mode. Collect the actual parameters in
gimp_edit_fill() instead, which makes much more sense.
2012-05-02 17:46:01 +02:00
Michael Natterer 5b1eeab718 app: port coloring/patterning a stroked GimpScanConvert to GEGL 2012-05-02 17:46:00 +02:00
Michael Natterer 0250e549b4 app: remove unused include 2012-05-02 17:46:00 +02:00
Michael Natterer c23f7f9f14 app: derive GimpOperationSetAlpha from GeglOperationPointComposer
and use the aux input as additional source of alpha.
2012-05-02 17:46:00 +02:00
Michael Natterer 066d5d84c9 app: port all implementations of GimpProjectable::get_opacity_at() to Gegl 2012-05-02 17:46:00 +02:00
Michael Natterer 0810bd2e44 app: make gimp_image_transform_rgb() transform the alpha too
and remove explicit alpha setting in the returned array in most places.
2012-05-02 17:46:00 +02:00
Øyvind Kolås 7250085d1c app: all Babls used by GIMP are now const 2012-05-02 17:46:00 +02:00
Michael Natterer b68a05f240 app: remove gimpimage-colorhash.[ch]
All indexed mapping is done with Babl now \o/
2012-05-02 17:46:00 +02:00