Michael Natterer
7c271f15fc
app: use gimp_image_get_component_format() instead of hardcoding "A u8"
...
to extract a drawable's alpha channel into a layer mask.
2012-05-02 17:51:09 +02:00
Michael Natterer
85b83b65ff
app: clean up GimpMaskUndo's GeglRectangle code
2012-05-02 17:51:09 +02:00
Michael Natterer
7d9cd6a413
app: don't hardcode "Y u8" when checking whether to clip transformed buffers
...
instead, check if the format has alpha.
2012-05-02 17:51:08 +02:00
Michael Natterer
3af70584d0
app: remove bpp <-> format conversion stuff from gimp-gegl-utils.[ch]
...
Fix stuff by picking formats as we get data from the "outside", like a
GdkPixbuf, and pass around more proper formats from where we know them.
2012-05-02 17:51:08 +02:00
Michael Natterer
15d1827ead
app: add gimp_babl_format() and use it in gimp_image_get_format()
2012-05-02 17:51:08 +02:00
Michael Natterer
ff931e1ded
app: move gimp_babl_format_get_base_type() to gimp-babl.[ch]
...
The GimpImageBaseType enum is going to go away, but a format -> enum
API is going to stay around.
2012-05-02 17:51:08 +02:00
Michael Natterer
e737bf77fa
app: add gimp-babl.[ch] and move Babl specific code there
2012-05-02 17:51:08 +02:00
Michael Natterer
16635e5f0a
app: gimp_drawable_preview_bytes() -> gimp_drawable_get_preview_format()
2012-05-02 17:51:08 +02:00
Michael Natterer
85bd6b0dd9
app: pass a format, not bpp, to gimp_viewable_get_dummy_pixbuf()
...
and add tons of <gegl.h> includes.
2012-05-02 17:51:08 +02:00
Michael Natterer
03da4fb280
app: make masks use linear, not gamma corrected formats
2012-05-02 17:51:08 +02:00
Michael Natterer
3e9fdf1815
app: change GimpBoundary to find the boundary a float component
...
Require passing in a Babl format that will extract the float component
the algorithm should run on.
2012-05-02 17:51:07 +02:00
Michael Natterer
3ea0e3f090
app: return double not int from GimpPickable::get_opacity_at()
...
and fix GimpLayer's impl to honor the mask also for layers without
alpha.
2012-05-02 17:51:07 +02:00
Michael Natterer
e6975ed065
app: add format parameter to GimpPickable::get_pixel_at()
...
allowing NULL for the pickable's native format. Fix and simplify auto
cropping to always use "R'G'B'A u8".
2012-05-02 17:51:07 +02:00
Michael Natterer
a61885f324
app: add XXX comments about hardcoded or NULL formats
2012-05-02 17:51:07 +02:00
Michael Natterer
9146aeaa22
app: ask the image for the RGB format in gimp_selection_extract()
...
instead of hardcoding it.
2012-05-02 17:51:07 +02:00
Michael Natterer
6d1776d354
app: port gimp_image_contiguous_region_by_seed() to GEGL
2012-05-02 17:51:05 +02:00
Michael Natterer
aee6a9eb01
app: remove the legacy histogram calculation code
2012-05-02 17:51:04 +02:00
Michael Natterer
28f655ed27
app: implement the GEGL histogram with an iterator loop for now
...
its body can later be reused in the working histogram sink op.
2012-05-02 17:51:04 +02:00
Michael Natterer
15711f6de5
app: simplify buffer iterator code in gimp_palette_import_extract()
2012-05-02 17:51:04 +02:00
Michael Natterer
a04d391ca6
app: more WIP on GimpOperationHistogramSink, not used yet
2012-05-02 17:51:04 +02:00
Michael Natterer
927ef9b9fb
app: use gimp_gegl_color_new() instead of gegl_color_set_rgba()
2012-05-02 17:51:04 +02:00
Michael Natterer
66050390aa
app: hack badly to make gimp_channel_new_from_component() work
...
insert an intermediate copy to work around an unclear bug that will go
away once we use native GeglBuffers.
2012-05-02 17:51:04 +02:00
Michael Natterer
df5ab0f551
app: add gimp_histogram_clear_values() and use it
...
instead of abusing gimp_histogram_calculate() with a NULL region for
that purpose; calculate() is about to go away.
2012-05-02 17:51:04 +02:00
Michael Natterer
774b6e3c16
app: return a format, not image type from file_open_thumbnail()
...
create a dummy indexed format if neccessary, which can only be used
for checking with babl_format_is_palette(). Port the rest of
GimpImageFile from GimpImageType to Babl*.
2012-05-02 17:51:03 +02:00
Michael Natterer
7b46656f7d
app: name the image's palette formats "-gimp-indexed-format-image_id"
2012-05-02 17:51:03 +02:00
Michael Natterer
9dd119c871
app: gimp_template_get_image_type: return GimpImageBaseType not GimpImageType
2012-05-02 17:51:03 +02:00
Michael Natterer
9d518677d2
app: remove gimpdrawable-convert.[ch]
...
This can now be done in gimp_drawable_real_convert_type() with a few
lines of GEGL buffer copying.
2012-05-02 17:51:03 +02:00
Michael Natterer
95cb77edc9
app: change gimp_image_get_format() to take a base_type and a with_alpha boolean
...
which kills almost all remaining use of GimpImageType.
2012-05-02 17:51:03 +02:00
Michael Natterer
310c1bfb71
app: add gimp_babl_get_description()
...
which keeps around human readable and translatable strings for Babl
formats, as replacement for the to-be-obsoleted image type etc. enum
descriptions.
2012-05-02 17:51:03 +02:00
Michael Natterer
14459cc637
app: remove as much as possible from base-types.h
...
Wanted to remove it completely, but that's currently not nicely
doable.
2012-05-02 17:51:02 +02:00
Michael Natterer
685a48d59a
app: move gimp_gegl_buffer_get_temp_buf() to gimptempbuf.[ch]
2012-05-02 17:51:02 +02:00
Michael Natterer
324f594fa9
app: remove "x" and "y" members from GimpTempBuf
...
and generally clean up things a bit.
2012-05-02 17:51:02 +02:00
Michael Natterer
b78d6c1d5d
app: port preview rendering to GEGL/cairo
...
which gets rid of the render blend arrays in gimprender.[ch], and of
image preview demultiplication.
2012-05-02 17:51:02 +02:00
Michael Natterer
5735e35f0c
app: add gimp_cairo_image_surface_create_buffer()
...
and use it to shrink text layer rendering to even fewer lines.
2012-05-02 17:51:02 +02:00
Michael Natterer
53cf2c657b
app: move the GTK-free cairo utility functions to core/gimp-cairo.[ch]
2012-05-02 17:51:02 +02:00
Øyvind Kolås
25030ce6c4
app: no need to clear newly created buffers
...
Freshly created GeglBuffers, that are native GeglBuffers are already sparse
and all tiles are implicit COW empty tiles.
2012-05-02 17:51:01 +02:00
Michael Natterer
631134180e
app: swallow gimp_temp_buf_demultiply() into gimp_image_get_new_preview()
2012-05-02 17:51:01 +02:00
Michael Natterer
feb4b9cfe9
app: fix gimp_layer_new() API docs
2012-05-02 17:51:01 +02:00
Michael Natterer
37559e3037
app: use gegl_buffer_copy() in gimp_drawable_real_replace_buffer()
2012-05-02 17:51:01 +02:00
Michael Natterer
7eb8b0b925
app: remove base-enums.[ch]
...
and move its remaining content to core-enums, move the siox enum to
base-types.h.
2012-05-02 17:51:01 +02:00
Michael Natterer
bdf6b48138
app: move GimpTempBuf from base/ to core/
...
and forget about include policy in base/, it's scheduled for removal
anyway.
2012-05-02 17:51:01 +02:00
Michael Natterer
dccb909009
app: make GimpTempBuf reference counted
...
and remove the "take_ownership" parameter from
gimp_temp_buf_create_buffer(), simply always ref the buf.
2012-05-02 17:51:00 +02:00
Michael Natterer
d5d8e36d21
app: gimp_-namespace all GimpTempBuf functions
2012-05-02 17:51:00 +02:00
Michael Natterer
42a5f01be3
app: rename TempBuf to GimpTempBuf
2012-05-02 17:51:00 +02:00
Michael Natterer
bf9627bdda
app: disable GEGL code path in gimp_drawable_real_apply_buffer()
...
it makes GEGL deadlock when applying GimpImageMap stuff.
2012-05-02 17:50:59 +02:00
Michael Natterer
690a12f2a7
app: move gimp_temp_buf_create_buffer() to temp-buf.[ch]
...
TempBuf will soon be promoted to be a core/ citizen.
2012-05-02 17:50:59 +02:00
Michael Natterer
7441a1f6f7
app: turn the TempBuf's "bytes" into "format" and port everything to it
2012-05-02 17:50:59 +02:00
Øyvind Kolås
b4e3843b6a
app: get rid of cpercep
2012-05-02 17:50:59 +02:00
Øyvind Kolås
acedbd7316
app: reduce cpercep to babl conversions
2012-05-02 17:50:59 +02:00
Michael Natterer
b4d8e4cbaa
app: use gegl_buffer_copy() to copy into a pattern's preview
2012-05-02 17:50:58 +02:00
Michael Natterer
c173328a9a
app: remove "dest" parameter from temp_buf_copy() and always return a new copy
...
Also remove the color conversion functions in temp-buf.c
2012-05-02 17:50:58 +02:00
Michael Natterer
b521cb4272
app: use GEGL to convert a TempBuf to a GdkPixbuf
2012-05-02 17:50:58 +02:00
Michael Natterer
8202dcb44e
app: don't set mask->x and ->y to bogus and completely unused values
2012-05-02 17:50:58 +02:00
Michael Natterer
ff86f85744
app: remove x, y and color parameters from temp_buf_new()
...
Fix the places that passed the color by either temp_buf_data_clear()
or memset(), and assign x and y manually, they are going to vanish
completely soon.
2012-05-02 17:50:58 +02:00
Michael Natterer
9bac5b8837
app: add gimp_image_get_channel_format() and get_mask_format()
...
which for now return the same thing (Y' u8) and need to be used
in more places before becoming useful.
2012-05-02 17:50:58 +02:00
Michael Natterer
e250c02bc7
app: don't use GimpImageType in gimp_image_new_from_template()
2012-05-02 17:50:58 +02:00
Michael Natterer
3ddfa42c80
app: remove the remaining image_type macro junk from gimpimage.h
2012-05-02 17:50:58 +02:00
Michael Natterer
baa5ceb1e7
app: remove image_type API from GimpBuffer
2012-05-02 17:50:57 +02:00
Michael Natterer
ec2d5647c0
app: remove gimp_drawable_type_with_alpha()
2012-05-02 17:50:57 +02:00
Michael Natterer
3c4f9d55ed
app: use the new functions added with the last commit
2012-05-02 17:50:57 +02:00
Michael Natterer
2b18645fb5
app: use gimp_drawable_get_base_type() instead of GIMP_IMAGE_TYPE_BASE_TYPE()
2012-05-02 17:50:57 +02:00
Michael Natterer
f6f7d53020
app: add gimp_drawable_get_base_type()
2012-05-02 17:50:57 +02:00
Michael Natterer
afe8eaf256
app: remove GimpImageType based API and macro junk
2012-05-02 17:50:57 +02:00
Michael Natterer
c14738806e
app: use gimp_image_get_layer_format() instead of dealing with image_type
2012-05-02 17:50:57 +02:00
Michael Natterer
ef638faf82
app: add gimp_image_get_layer_format()
2012-05-02 17:50:56 +02:00
Michael Natterer
1e7d5e3cb4
app: fix drawable type check in gimp_drawable_convert_indexed()
2012-05-02 17:50:56 +02:00
Michael Natterer
e5ff78b083
app: more consistent format handling in gimpdrawable-convert.c
2012-05-02 17:50:56 +02:00
Michael Natterer
f4d8e5266a
app: gimp_edit_paste(): use more formats inatead of GimpImageType
2012-05-02 17:50:56 +02:00
Michael Natterer
105d2207ef
app: require a non-NULL format in gimp_tile_manager_create_buffer()
2012-05-02 17:50:56 +02:00
Michael Natterer
01a22de26c
app: port gimp_drawable_real_apply_buffer() to GEGL
...
but leave the old code there and use it for FS compositing (when
dest_buffer is != NULL) because we need the legacy projection as
reference.
2012-05-02 17:50:56 +02:00
Michael Natterer
cb3e8f82d4
app: simplify leftover and now useless nested if()
2012-05-02 17:50:55 +02:00
Michael Natterer
368ae01c86
app: don't special case the FS wrt its visibility in the layer stack
...
Its source node produces nothingness anyway, so it can be safely
plugged in. More FS special code gone \o/.
2012-05-02 17:50:54 +02:00
Michael Natterer
8cca4c51ad
app: use gimp_gegl_node_set_layer_mode() to configure the FS' mode node
2012-05-02 17:50:54 +02:00
Michael Natterer
09d4d56521
app: use gimp_gegl_convolve() in gimpbrush-transform.c
2012-05-02 17:50:54 +02:00
Michael Natterer
9b70f4e7fc
app: move some enums from base-enums.h to core-enums.h
2012-05-02 17:50:54 +02:00
Michael Natterer
7ec6c48636
app: use gimp_rgba_set,get_pixel() instead of babl_process() directly
2012-05-02 17:50:53 +02:00
Øyvind Kolås
6efd812d08
app: s/GIMP_GEGL_RECT/GEGL_RECTANGLE/
...
Defining GeglRectangle inline is so useful that it has been added to
GEGL.
2012-05-02 17:50:52 +02:00
Michael Natterer
c5c555c834
app: add "take_ownerspip" param to gimp_temp_buf_create_buffer()
...
and get rid of some more intermediate buffer creation/destruction, and
some redundant temp_buf_free() plus g_object_unref().
2012-05-02 17:50:51 +02:00
Michael Natterer
ab42466282
app: add a "filters" subdir on user install
2012-05-02 17:50:48 +02:00
Michael Natterer
b02e251eab
app: add GIMP_CONFIG_PARAM_SERIALIZE to all duplicated GParamSpecs
2012-05-02 17:50:48 +02:00
Michael Natterer
6e4599806f
app: add gimp_list_get_sort_func()
2012-05-02 17:50:48 +02:00
Michael Natterer
2d81a16bdf
app: remove "bytes" from GimpBuffer and add a format API
...
and change all users accordingly.
2012-05-02 17:50:47 +02:00
Michael Natterer
ca7ee8400e
app: remove gimp_image_transform_temp_buf()
2012-05-02 17:50:46 +02:00
Michael Natterer
3b936fe595
app: GimpImageType -> Babl in GipmBrushClipboard
2012-05-02 17:50:46 +02:00
Michael Natterer
93009ef274
app: use gimp_temp_buf_create_buffer() all over the place
...
instead of creating linear buffers manually.
2012-05-02 17:50:46 +02:00
Michael Natterer
2957795372
app: add gimp_gegl_node_set_matrix() and use it instead of manual fiddling
2012-05-02 17:50:46 +02:00
Øyvind Kolås
b8e340b5bc
app: update paramspec duplication with changes in gegl paramspecs
2012-05-02 17:50:44 +02:00
Øyvind Kolås
1cee8d79bf
app: respect GEGLs ui-range hints for properties
2012-05-02 17:50:44 +02:00
Michael Natterer
50d7242b87
app: remove gimp_image_transform_rgb()
...
and use gimp_rgba_get_pixel() instead.
2012-05-02 17:50:43 +02:00
Michael Natterer
3e119c5af7
libgimpcolor: add gimp_rgb[a]_set,get_pixel()
...
which converts from/to any pixel format using Babl. Added tons of
includes and CFLAGS now that libgimpcolor publically uses Babl.
2012-05-02 17:50:43 +02:00
Michael Natterer
7f437d7d53
app: remove gimp_image_get_foreground,background()
...
and use gimp_context_get_foreground,background_pixel() instead.
2012-05-02 17:50:43 +02:00
Michael Natterer
8dfea70191
app: fix GIMP_TIMER_END() to take an arbitrary string
...
not a string constant that only works in the C preprocessor, and add a
timer to gimp_apply_operation().
2012-05-02 17:50:43 +02:00
Michael Natterer
29e7837441
app: remove gimpdrawable-process.[ch]
2012-05-02 17:50:43 +02:00
Michael Natterer
1a34171e68
app: remove the legacy option in gimp_drawable_scale()
2012-05-02 17:50:42 +02:00
Michael Natterer
87b7af7fa5
app: remove drawable->private->format, its buffer has a format already
...
Also, make group layer type conversion much less hackish by using the
same kind of temporary states that are used for reallocating its
projection on size change.
2012-05-02 17:50:42 +02:00
Michael Natterer
deb9b9caa8
app: replace GimpProjectable::get_image_type() by ::get_format()
...
and change semantics to returning the format it wants to be projected
in, not its actual format.
2012-05-02 17:50:42 +02:00
Michael Natterer
2a853cd1ee
app: remove GimpPickable::get_bytes()
2012-05-02 17:50:42 +02:00
Michael Natterer
5e754a9641
app: remove GimpPickable::get_image_type()
2012-05-02 17:50:42 +02:00
Michael Natterer
5fba7c70c7
app: replace the tile pyramid's GimpImageType by bytes, it needs nothing else
2012-05-02 17:50:41 +02:00
Michael Natterer
e00598abed
app: remove the legacy gimp-transform-region code
2012-05-02 17:50:41 +02:00
Michael Natterer
95327090c0
app: remove legacy support from gimpdrawable-transform.c
2012-05-02 17:50:41 +02:00
Michael Natterer
867da8f293
app: add gimp_context_get_foreground,background_pixel()
...
which takes a Babl format to convert from/to.
Include <gegl.h> in a million places.
2012-05-02 17:50:41 +02:00
Michael Natterer
39cca4aabd
app: more GimpImageType -> Babl
2012-05-02 17:50:40 +02:00
Michael Natterer
89d525c970
app: remove legacy support from GimpImageMap
2012-05-02 17:50:40 +02:00
Michael Natterer
f248324fd3
app: remove the lagacy hue-saturation cruft
...
it's unclear whether the operation is correct, but that can be sorted
out on master and merged.
2012-05-02 17:50:40 +02:00
Michael Natterer
23370d9fad
app: remove gimp_image_get_color()
2012-05-02 17:50:39 +02:00
Michael Natterer
48c796e748
app: port gimp_image_contiguous_region_by_seed() to babl_process()
...
instead of gimp_image_get_color().
2012-05-02 17:50:39 +02:00
Michael Natterer
932b80f612
app: port gimp_image_contiguous_region_by_color() to GEGL
2012-05-02 17:50:39 +02:00
Michael Natterer
5713e6ecfb
app: don't use gimp_image_get_color() in GimpPickable
...
A fish does the job just fine.
2012-05-02 17:50:39 +02:00
Michael Natterer
75b87f1a1d
app: don't use gimp_image_get_color() in gimp_palette_import_extract()
...
GEGL can deliver the image data as RGBA right away.
2012-05-02 17:50:39 +02:00
Michael Natterer
b74a2dbf0c
app: use Babl formats, not GimpImageType, in gimp_selection_extract()
2012-05-02 17:50:39 +02:00
Michael Natterer
36e982e2ed
app: port gimp_image_pick_color() to return a Babl format
...
instead of a GimpImageType.
2012-05-02 17:50:39 +02:00
Michael Natterer
25f4769c77
app: formatting cleanup in gimpimage-convert.c
2012-05-02 17:50:38 +02:00
Michael Natterer
031978c4c3
app: port gimpimage-convert.c to GEGL
2012-05-02 17:50:38 +02:00
Michael Natterer
1098eabc70
app: use the same indexed Babl formats during an image's lifetime
...
And only reconfigure them when the colormap changes. This way
undo/redo of layer adding/removing works across type conversions,
because the layers need to be in the same format as the image's
indexed format.
2012-05-02 17:50:38 +02:00
Øyvind Kolås
76546f7e7c
rename lanczos to lohalo
...
GEGL had a broken lanczos implementation, the lohalo implementation is better
anyways (at least when passed a proper scale matrix).
2012-05-02 17:50:38 +02:00
Øyvind Kolås
ee97c1f4ff
app: correct usage of babl formats
...
GIMP was doing evil hacks lying to GEGL about it's pixels being in a linear
color space when they are not. This causes incorrect rendering, makes gaussian
blur misbehave etc.
The legacy projection modes should be implemented using the same 2.2 gamma
formats that are correct to specify for sRGB data. (for proper color
management in higher bitdepths; icc backend babl formats should be used.)
For the old image modes correct babl formats are:
R'G'B'A u8 - 8 bit RGB with 2.2 gamma (sRGB) with linear alpha component
R'G'B' u8 - 8 bit RGB with 2.2 gamma (sRGB)
Y'A u8 - 8 bit Grayscale with 2.2 gamma with linear alpha component
Y' u8 - 8 bit Grayscale with 2.2 gamma
Y u8 - 8 bit linear data, used for masks/channels
A u8 - 8 bit linear alpha
-----------------------------------------------
RGBA float - 32bit floating point linear light RGB
RaGaBaA float - 32bit floating point linear light RGB, premultiplied alpha
to be used for processing that needs to scale by the alpha,
(blurs, resampling etc)
R'G'B'A float - 32bit floating point sRGB with gamma, to be used where
the result depends on being closer to perceptual when
processing, can be used a cheaper alternative to CIE Lab
based modes.
-----------------------------------------------
The legacy layer modes should use the formats with gamma 2.2 only for loading
and rendering legacy XCF files correctly, in the brave new world compositing
should most likely be done in linear light with "RGBA float" and even better
"RaGaBaA float" like GEGL does for porter duff and other compositing modes.
The ability to chose the legacy layer modes should probably be hidden from the
user unless an old .xcf has been opened.
2012-05-02 17:50:38 +02:00
Michael Natterer
2c0fde88f2
app: remove the legacy color-balance cruft
2012-05-02 17:50:38 +02:00
Michael Natterer
3a48101b9d
app: use below new function for shapeburst blend and cage tool progress
2012-05-02 17:50:37 +02:00
Michael Natterer
42e2f5ebfe
app: remove legacy includes from blend
2012-05-02 17:50:37 +02:00
Michael Natterer
70f501da93
app: remove the global dist_buffer variable and pass it around locally
2012-05-02 17:50:37 +02:00
Michael Natterer
ea86461586
app: port the rest of the shapeburst blend logic to GEGL
2012-05-02 17:50:37 +02:00
Michael Natterer
865b925598
app: add GimpOperationShapeburst to calculate the distance map for blend
2012-05-02 17:50:36 +02:00
Michael Natterer
97f6061a91
app: remove some obsolete legacy includes from gimpdrawable.c
2012-05-02 17:46:16 +02:00
Michael Natterer
eea149d8e5
app: better GEGL code in gimp_layer_create_mask()
2012-05-02 17:46:16 +02:00
Øyvind Kolås
bfb3cd60d1
app: adapt to API changes in gegl_buffer_iterator
2012-05-02 17:46:15 +02:00
Michael Natterer
efbc4e61b0
app: more gegl_buffer_iterator_new() updates
2012-05-02 17:46:15 +02:00
Øyvind Kolås
9a22e2202f
app: update with GEGL iterator API changes
2012-05-02 17:46:15 +02:00
Michael Natterer
c3a818f8f8
app: properly sync the projection's tiles and their buffer
...
Esp. don't keep two buffer "views" on the tiles around,
2012-05-02 17:46:15 +02:00
Michael Natterer
ebcf22ba82
app: use gegl_buffer_set_format() to "cast" a dest buffers format
...
in order to extract a src buffer's components
2012-05-02 17:46:15 +02:00
Øyvind Kolås
f68c3c7051
app: adapt to API changes in GEGL
2012-05-02 17:46:15 +02:00
Michael Natterer
2b6b5a8ada
app: remove unused base/ includes
2012-05-02 17:46:15 +02:00
Michael Natterer
9a1fbe9418
app: remove obsolete include from gimpchannel.c
2012-05-02 17:46:14 +02:00
Michael Natterer
dab97df012
app: remove the TileValidateProc from gimp_channel_new_mask()
...
and simply gegl_buffer_clear() the thing instead.
2012-05-02 17:46:14 +02:00
Michael Natterer
b08ba684cf
app: replace border_region() by GimpOperationBorder
2012-05-02 17:46:14 +02:00
Michael Natterer
8fc7c17d39
app: replace fatten_region() by GimpOperationGrow
2012-05-02 17:46:14 +02:00
Michael Natterer
fa072f0cd4
app: remove thin_region(), turns out that gimp:shrink was not slow after all
2012-05-02 17:46:14 +02:00
Michael Natterer
03b15ea668
app: remove "dont-cache" from gimp_apply_opeation()
...
it slows down all ops which wan to process the entire buffer in one
go, like the new gimp:shrink.
2012-05-02 17:46:13 +02:00
Michael Natterer
be853cd239
app: remove "gboolean linear" from all apply_operation APIs
...
thes were all unused and we want to get rid of that anyway.
2012-05-02 17:46:13 +02:00
Michael Natterer
cbb2766f07
app: add GimpOperationShrink which does "shrink selection"
...
but it's horribly slow, so keep the old code around for now and make
the new one depend on use_gegl.
2012-05-02 17:46:13 +02:00
Michael Natterer
a0ce43dc93
app: don't pass 1.0 as boolean value, not that it would change anything...
2012-05-02 17:46:13 +02:00
Michael Natterer
f036b77f9a
app: fix typo that caused wrong paint apply offset in bucket fill
2012-05-02 17:46:13 +02:00
Øyvind Kolås
c872a9368e
app: sprinkle level argument over process functions
2012-05-02 17:46:13 +02:00
Michael Natterer
942ed2316b
app: remove gimp_drawable_process_lut()
2012-05-02 17:46:13 +02:00
Michael Natterer
cf86aeceb3
app: add GimpOperationEqualize and port equalize to it
2012-05-02 17:46:13 +02:00
Michael Natterer
8d5471502e
app: move GimpHistogram from base/ to core/
2012-05-02 17:46:13 +02:00
Michael Natterer
de0321a82e
app: add gimp_gegl_node_set_layer_mode()
...
and remove all other code that does layer_mode -> node.
2012-05-02 17:46:13 +02:00
Michael Natterer
fb74b9e822
app: chnage gimp_gegl_create_apply_opacity_node()'s mask offset
...
to be the offset *of* the mask, not the offset *into* the mask, also
reorder parameters.
2012-05-02 17:46:12 +02:00
Michael Natterer
7223af17a2
app: completely port GimpDrawable::apply_region()'s API to GeglBuffer
...
and pass lots of coords that were hidden inside PixelRegions
explicitly.
2012-05-02 17:46:12 +02:00
Michael Natterer
bfd54a69b7
app: implement "disable layer mask" in the GEGL graph
2012-05-02 17:46:12 +02:00