Ø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