Commit Graph

31291 Commits

Author SHA1 Message Date
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
3020e2d179 app: resue the GeglProcessor
GEGL now resets the valid-region upon each setting of the rectangle for
a GeglProcessor.
2012-05-02 17:45:46 +02:00
321de230f1 app: gimptilebackendtilemanager reduce cases with 0copy
We cannot do 0copy access if the height doesn't match, babl through GEGL might
read into the memory.
2012-05-02 17:45:46 +02:00
9ccabe2fdf app: remove unused lut-funcs 2012-05-02 17:45:46 +02:00
059d5d9d80 app: remove orphaned Colorize typedef 2012-05-02 17:45:45 +02:00
8c14f55e98 app: make gimp_drawable_get_source_node use GeglBuffer
Relies on fresh GEGL (db43a7d8a42f0ae) to compile.
2012-05-02 17:45:45 +02:00
0623c7f365 app: remove the pointless core wrappers for the below simplified color stuff
Instead, provide gimp_drawable_apply_operation_with_config() and call
that from the PDB wrappers directly.
2012-05-02 17:45:45 +02:00
8684b87f04 app: clean up the desaturate cruft removal to look like the others 2012-05-02 17:45:45 +02:00
aa07344d56 app: remove the legacy colorize code 2012-05-02 17:45:45 +02:00
e3c720ad20 app: remove the legacy threshold code 2012-05-02 17:45:45 +02:00
7aa7f168b8 app: remove the legacy posterize code 2012-05-02 17:45:45 +02:00
70b26d1ecb app: remove the legacy desaturate implementation
The GEGL one is just as fast or faster.
2012-05-02 17:45:45 +02:00
08dd7901b1 app: allow to opionally not implement GimpImageMapTool::map()
it's not needed for many tools that have no legacy implementation.
2012-05-02 17:45:45 +02:00
d258af9ea9 app: use gegl: prefix for ops 2012-05-02 17:45:44 +02:00
3bd8ee1a63 app: move new get_buffer() functions around; some general cleanup 2012-05-02 17:45:44 +02:00
751eba9d23 lie about gamma to gegl 2012-05-02 17:45:44 +02:00
35f1518afd imagemap: unref buffers as soon as possible 2012-05-02 17:45:44 +02:00
0dfffa44a3 app: make gimp_drawable_apply_operation use the TileManager buffer backend 2012-05-02 17:45:44 +02:00