872bfabc9b
app: don't use gimp_drawable_type() in more places
...
that talk to the outside world.
2012-05-02 17:51:02 +02:00
fb93b1344a
app: don't use gimp_drawable_type() when saving to XCF
...
Instead, convert the drawable's format to a GimpImageType right here
where needed.
2012-05-02 17:51:02 +02:00
ca6323f382
app: fix signal signature of GimpColorTool::picked()
...
A Babl format is not of GIMP_TYPE_IMAGE_TYPE, this would have horribly
crashed on 64bit, I guess...
2012-05-02 17:51:02 +02:00
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
685a48d59a
app: move gimp_gegl_buffer_get_temp_buf() to gimptempbuf.[ch]
2012-05-02 17:51:02 +02:00
324f594fa9
app: remove "x" and "y" members from GimpTempBuf
...
and generally clean up things a bit.
2012-05-02 17:51:02 +02:00
1bcab234ab
app: explicitly pass around the offsets of the view renderer's temp_bufs
...
and don't use temp_buf->x and ->y.
2012-05-02 17:51:02 +02:00
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
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
53cf2c657b
app: move the GTK-free cairo utility functions to core/gimp-cairo.[ch]
2012-05-02 17:51:02 +02:00
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
631134180e
app: swallow gimp_temp_buf_demultiply() into gimp_image_get_new_preview()
2012-05-02 17:51:01 +02:00
feb4b9cfe9
app: fix gimp_layer_new() API docs
2012-05-02 17:51:01 +02:00
50165d4238
app: remove copy_region()
2012-05-02 17:51:01 +02:00
37559e3037
app: use gegl_buffer_copy() in gimp_drawable_real_replace_buffer()
2012-05-02 17:51:01 +02:00
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
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
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
d5d8e36d21
app: gimp_-namespace all GimpTempBuf functions
2012-05-02 17:51:00 +02:00
42a5f01be3
app: rename TempBuf to GimpTempBuf
2012-05-02 17:51:00 +02:00
9285529f9b
app: silence compiler warning in GimpBucketFillTool
2012-05-02 17:50:59 +02:00
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
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
7441a1f6f7
app: turn the TempBuf's "bytes" into "format" and port everything to it
2012-05-02 17:50:59 +02:00
b4e3843b6a
app: get rid of cpercep
2012-05-02 17:50:59 +02:00
f11ee4d82e
app: get rid of cpercep in siox
2012-05-02 17:50:59 +02:00
acedbd7316
app: reduce cpercep to babl conversions
2012-05-02 17:50:59 +02:00
83c21ffcc3
app: add babl based conversions along cpercep
...
This does not change it's behavior but asserts the results of equivalent
conversions.
2012-05-02 17:50:59 +02:00
c9b2db55d1
app: remove temp_buf_copy_area()
2012-05-02 17:50:59 +02:00
b4d8e4cbaa
app: use gegl_buffer_copy() to copy into a pattern's preview
2012-05-02 17:50:58 +02:00
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
b521cb4272
app: use GEGL to convert a TempBuf to a GdkPixbuf
2012-05-02 17:50:58 +02:00
d743bae6a7
app: remove temp_buf_resize()
...
and fix its only user by simply reallocating the buf.
2012-05-02 17:50:58 +02:00
8202dcb44e
app: don't set mask->x and ->y to bogus and completely unused values
2012-05-02 17:50:58 +02:00
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
0e9581b956
app: pass the paint area's coords to gimp_brush_core_color_area_with_pixmap()
...
They are no longer stored in the paint area TempBuf.
2012-05-02 17:50:58 +02:00
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
e250c02bc7
app: don't use GimpImageType in gimp_image_new_from_template()
2012-05-02 17:50:58 +02:00
3ddfa42c80
app: remove the remaining image_type macro junk from gimpimage.h
2012-05-02 17:50:58 +02:00
baa5ceb1e7
app: remove image_type API from GimpBuffer
2012-05-02 17:50:57 +02:00
ec2d5647c0
app: remove gimp_drawable_type_with_alpha()
2012-05-02 17:50:57 +02:00
3c4f9d55ed
app: use the new functions added with the last commit
2012-05-02 17:50:57 +02:00
dd103d227b
app: add gimp_babl_format_get_image_type,base_type()
2012-05-02 17:50:57 +02:00
2b18645fb5
app: use gimp_drawable_get_base_type() instead of GIMP_IMAGE_TYPE_BASE_TYPE()
2012-05-02 17:50:57 +02:00
f6f7d53020
app: add gimp_drawable_get_base_type()
2012-05-02 17:50:57 +02:00
afe8eaf256
app: remove GimpImageType based API and macro junk
2012-05-02 17:50:57 +02:00
bacf1abac2
app: don't use GIMP_IMAGE_TYPE_IS_FOO() in drawable_actions_update()
2012-05-02 17:50:57 +02:00
c14738806e
app: use gimp_image_get_layer_format() instead of dealing with image_type
2012-05-02 17:50:57 +02:00
ef638faf82
app: add gimp_image_get_layer_format()
2012-05-02 17:50:56 +02:00
1e7d5e3cb4
app: fix drawable type check in gimp_drawable_convert_indexed()
2012-05-02 17:50:56 +02:00