Commit Graph

31308 Commits

Author SHA1 Message Date
52d033e2c1 app: don't need an attached item for applying an op to tiles/buffers 2012-05-02 17:45:52 +02:00
169221bc51 app: replace some color_region() and pattern_region() by GEGL code 2012-05-02 17:45:52 +02:00
1ff7ecb4aa app: fix segfault in previous commit 2012-05-02 17:45:52 +02:00
b93e166440 app: avoid thrashing GEGL side of tile cache in projection
gimp_projection_initialize was causing the projection code to throw out all
it's tiles continously, causing crawling updates.
2012-05-02 17:45:52 +02:00
3235cfe69e app: default to use GEGL rather than legacy code paths
During development, the GEGL code such have as much exposure to users testing
the development release. There is still the option to switch it off if GEGL is
not adhering to expectations.
2012-05-02 17:45:52 +02:00
5413949851 app: implement gimp_layer_add_alpha() with gegl_buffer_copy() 2012-05-02 17:45:52 +02:00
dc8d6a3977 app: use gimp_image_transform_rgb() instead of transform_color()
instead of fiddling with gimp_rgb_get_uchar() manually.
2012-05-02 17:45:52 +02:00
54108d9413 app: add gimp_drawable_get_babl_format() 2012-05-02 17:45:51 +02:00
2a279f5e40 app: some more gegl_buffer_clear()/set_color() on mask objects 2012-05-02 17:45:51 +02:00
d127e3ad35 app: use gegl_buffer_copy() in gimp_drawable_resize() 2012-05-02 17:45:51 +02:00
8f3f600eb3 app: remove unused #includes 2012-05-02 17:45:51 +02:00
1b1245e4cc app: remove empty functions paint_funcs_setup()/free() 2012-05-02 17:45:51 +02:00
1ee041600f app: replace direct low-level GeglBuffer calls with utility.
gimp_drawable_real_update exists, so use it
2012-05-02 17:45:50 +02:00
ef3cfb48cc app: remove gaussian_blur_region() and its helpers 2012-05-02 17:45:50 +02:00
4455e29303 app: implement gimp_channel_real_feather() with gegl:gaussian-blur
It's not 100% the same but very close, everybody is invited to improve
the magic number in gimp_channel_real_feather() to truly match the old
behavior.
2012-05-02 17:45:50 +02:00
43b39c432c app: remove clear_region(), it's replaced by GEGL everywhere 2012-05-02 17:45:50 +02:00
d4efabeae2 app: clear the projection's background using GEGL
and also remove lots of cruft from that file, like the disabled
optimization that tries to project a single-layer image directly out
of the layer's tiles.
2012-05-02 17:45:50 +02:00
77bbbab5c6 app: make sure TileManagers and the GeglBuffers backed by them are in sync
by adding gegl_buffer_flush() and gegl_tile_source_reinit() in the
drawable's buffer and tiles API, and at some half-ported places that
mix legacy and gegl code.
2012-05-02 17:45:50 +02:00
3975a5e1e7 app: keep the undo mask around as GeglBuffer, not TileManager
which is our first pure GeglBuffer storage, so this code counts
as completely ported \o/
2012-05-02 17:45:50 +02:00
7c3a796dfc app: added GimpPickable::get_buffer()
Add cached buffers to GimpProjection and GimpImageMap, and use
the new API where possible.
2012-05-02 17:45:50 +02:00
8ba8710982 app: use gegl_buffer_copy() in gimp_drawable_real_push_undo() 2012-05-02 17:45:49 +02:00
efc4986501 app: clear gimp_image_merge_layers()'s merged layer with gegl_buffer_clear() 2012-05-02 17:45:49 +02:00
81e44403ff app: implement gimp_image_duplicate_mask() with gegl_buffer_copy() 2012-05-02 17:45:49 +02:00
d0d50ca1ea app: remove the legacy threshold lut code 2012-05-02 17:45:49 +02:00
70e5542077 app: implement gimp_channel_real_sharpen() with gegl:threshold 2012-05-02 17:45:49 +02:00
caeeca2111 app: remove the unused copy_region_nocow() 2012-05-02 17:45:48 +02:00
2e6a33e02f app: implement GimpMaskUndo with GEGL 2012-05-02 17:45:48 +02:00
2af2fdc63d app: implement gimp_channel_real_clear() with GEGL 2012-05-02 17:45:48 +02:00
26c10d9f73 app: implement gimp_channel_translate() with GEGL 2012-05-02 17:45:48 +02:00
3814c9f0a6 app: add gimp_drawable_apply_operation_to_buffer() and use it in ony place 2012-05-02 17:45:48 +02:00
830b49993b app: set GeglBuffer directly in show image-graph 2012-05-02 17:45:48 +02:00
4d18bda0c7 app: cache readable and writable buffers in the drawable
As API, replace gimp_drawable_create_buffer() by
gimp_drawable_get_read_buffer() and gimp_drawable_get_write_buffer().
2012-05-02 17:45:48 +02:00
d5ff53c70d app: more meticulously tickle tile ref-counts 2012-05-02 17:45:48 +02:00
7bab13c9a0 app: replace more copy_region() by gegl_buffer_copy() 2012-05-02 17:45:48 +02:00
b95fc4f8d5 app: rename gimp_drawable_get_buffer() and gimp_tile_manager_get_gegl_buffer()
to foo_create_buffer() because they return new objects.
2012-05-02 17:45:47 +02:00
0d236ee351 app: replace some copy_region() by gegl_buffer_copy() 2012-05-02 17:45:47 +02:00
d771249466 app: completely port GimpBuffer to using GeglBuffer not TileManager 2012-05-02 17:45:47 +02:00
f086e27846 app: add macro GIMP_IMAGE_TYPE_FROM_BYTES() (ignoring indexed mode) 2012-05-02 17:45:47 +02:00
ca85d2c906 app: remove GimpOperationTileSink 2012-05-02 17:45:47 +02:00
54e46f639c app: stop gimp_buffer_to_tiles use GeglBuffer 2012-05-02 17:45:47 +02:00
cac889cef7 app: add gimp_layer_new_from_buffer() 2012-05-02 17:45:47 +02:00
0fdf01de02 app: remove GimpOperationTileSource
GIMP has a GeglBuffer backend for it's tiles now.
2012-05-02 17:45:47 +02:00
bdee1643ce app: make projection use GeglBuffers 2012-05-02 17:45:47 +02:00
a058daeba1 app: release tile with dirty flag in gegl tile backend
We always modify tiles so behave correctly.
2012-05-02 17:45:47 +02:00
d7dab2bc85 app: remove the legacy invert lut code 2012-05-02 17:45:46 +02:00
c334fe936c app: use GEGL to invert channels/selections 2012-05-02 17:45:46 +02:00
4c6907c53c app: formatting cleanup in gimpdrawable-operation.c 2012-05-02 17:45:46 +02:00
63bd108afb app: always use GEGL to invert drawables
and remove the now useless gimpdrawable-invert.[ch].
2012-05-02 17:45:46 +02:00
6d3a8fe73d app: rename gimp_drawable_apply_operation_with_config()
to gimp_drawable_apply_operation_by_name() and allow to pass
a NULL config.
2012-05-02 17:45:46 +02:00
9720eb6c78 app: cleanup in the new GimpDrawable tile source code 2012-05-02 17:45:46 +02:00