Commit Graph

31246 Commits

Author SHA1 Message Date
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
Michael Natterer
c6daba8b5d app: port everything to gimp_selection_extract_buffer() 2012-05-02 17:46:06 +02:00
Michael Natterer
525a405270 app: port the entire transform API from TileManager to GeglBuffer 2012-05-02 17:46:06 +02:00
Michael Natterer
7b88ab6a46 app: add gimp_selection_extract_buffer () 2012-05-02 17:46:06 +02:00
Michael Natterer
91ec2feb49 app: flush the buffer in gimp_gegl_buffer_get_tiles()
so the tiles are up-to-date.
2012-05-02 17:46:05 +02:00
Michael Natterer
b89a912cc7 app: use gimp_drawable_set_buffer() in a few places 2012-05-02 17:46:05 +02:00
Ø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