Michael Natterer
5c11326ad7
app: use GeglConfig's new 64 bit tile-cache-size property if it exists
2012-06-29 01:51:56 +02:00
Michael Natterer
373a4e7469
app: completely remove TileManager and friends (base/ and paint-funcs/)
...
And along with it a lot of stuff like the drawable preview cache, the
gegl tile manager backend, temporary gimp_gegl_buffer_foo() stuff, and
the remaining bits of performance.
The projection is in an evil semi-ported state which makes it work
ok-ish for stuff like layer moving, but absolutely unbearable for
painting, there is also an off-by-one rendering glitch at some zoom
levels.
2012-06-20 21:44:09 +02:00
Ville Sokk
83680825d0
app: removed unnecessary argument from gimp_operations_init
2012-06-14 21:29:43 +03:00
Michael Natterer
e254fd7c4d
app: actually commit the rest of the patch...
2012-05-26 12:42:52 +02:00
Michael Natterer
49b579eeb8
app: add GimpApplicator which wraps a graph that applies a buffer to a drawable
...
and use it in GimpPaintCore, instead of calling
gimp_drawable_apply_buffer() which sets up a new graph for each
call. Makes painting speed bearable again.
2012-05-26 12:36:00 +02:00
Michael Natterer
85a92cf800
app: don't set GeglConfig:threads, it breaks things
2012-05-20 19:35:04 +02:00
Michael Natterer
120db980dc
app: connect GimpGeglConfig:num-processors to GeglConfig:threads
...
whatever it might be good for...
2012-05-19 08:50:05 +02:00
Michael Natterer
83a728f492
app: rename gimp_gegl_node_set_layer_mode() to gimp_gegl_mode_node_set()
...
and have it set mode and opacity at the same time, so we don't reset
opacity each time we set the mode.
2012-05-18 23:50:35 +02:00
Michael Natterer
001e0f0b40
app: port gimp_gegl_create_apply_buffer_node() to the new mode ops
2012-05-18 22:59:04 +02:00
Ville Sokk
e377eb01cd
app: modified gegl blending modes to take mask and opacity inputs
2012-05-18 22:52:48 +02:00
Michael Natterer
9d1ff75c61
app: limit the tile-cache size to G_MAXINT also in the UI
...
and #warning about it in the code until GEGL has a guint64 cache size
property.
2012-05-15 02:29:47 +02:00
Michael Natterer
ede421bd45
app: rename GimpBaseConfig to GimpGeglConfig
...
because that's its future purpose.
2012-05-14 22:57:58 +02:00
Ville Sokk
cf442d3386
app: added gegl value and behind blending modes
2012-05-11 20:37:47 +03:00
Ville Sokk
c713e80e63
app: added initial gegl color blending mode
2012-05-11 18:53:49 +03:00
Ville Sokk
cc0410a226
app: added initial gegl version of saturation blending mode
2012-05-11 18:28:49 +03:00
Michael Natterer
f8f00600d5
app: remove the GimpTileBackendTileManager typedef from gimp-gegl-types.h
...
It's a private temporary class and doesn't belong there.
2012-05-11 11:13:26 +02:00
Michael Natterer
1a624d4df4
app: remove many includes of "gegl/gimp-gegl-utils.h"
2012-05-10 23:12:39 +02:00
Michael Natterer
43dc848dfb
app: remove duplicate typedefs from gimp-gegl-types.h
2012-05-10 21:31:40 +02:00
Michael Natterer
7101ee191a
app: move all GEGL operations to new directory app/operations/
2012-05-10 21:22:44 +02:00
Ville Sokk
c41ac185b5
app: added initial gegl hue blending mode
2012-05-10 21:54:48 +03:00
Simon Budig
8482fb9cf6
fix NaN issue in gimpoperationlevels.c
2012-05-09 02:24:12 +02:00
Michael Natterer
87e266a94b
app: port gimp_gegl_replace() to float
2012-05-07 02:35:21 +02:00
Michael Natterer
dd9b132d8f
app: add a new gimp_gegl_combine_mask() which does what it says
...
which is combining two masks. Use it in gimp_drawable_real_replace_buffer()
instead of gimp_gegl_apply_mask() which does the wrong thing.
2012-05-06 22:51:11 +02:00
Michael Natterer
5738c866a1
app: rename gimp_gegl_combine_mask() to gimp_gegl_combine_mask_weird()
...
because it is.
2012-05-06 22:51:11 +02:00
Michael Natterer
b2c4bd5d3f
app: add gimp_gegl_replace() as replacement for combine_regions_replace()
...
and use it in gimp_drawable_real_replace_buffer(). The new GEGL loop
is a stupid 1:1 copy of legacy and needs improvement.
2012-05-06 22:51:11 +02:00
Michael Natterer
89dcc5be57
app: oops should also commit the new op files
2012-05-05 03:04:06 +02:00
Michael Natterer
f1a771439a
Replace the semi-flatten plug-in by a GEGL operation
2012-05-04 23:56:10 +02:00
Michael Natterer
c16c61f458
app: support GimpParamSpecRGB in generated GEGL UI, not only GeglParamSpecColor
2012-05-04 23:56:10 +02:00
Michael Natterer
f24445efbc
Replace the threshold-slpha plug-in by a GEGL operation
2012-05-04 17:59:36 +02:00
Michael Natterer
cdb79427cb
app: move the opaque typedefs of most operations to their resp. headers
...
Keeping them in gimp-gegl-types.h makes no sense because they are
never included by anyone, let alone mentioned in other headers.
2012-05-04 17:36:39 +02:00
Michael Natterer
84745b48e8
app: add a color button and picker to the colorize tool dialog
2012-05-03 15:02:34 +02:00
Michael Natterer
3ad73b3658
libgimpcolor: add GdkPixbuf <-> GeglBuffer utility functions
...
and update tons of includes in libgimp and app.
2012-05-03 03:37:20 +02:00
Michael Natterer
58324ab239
app: kill more clamping in a levels utility function
2012-05-02 17:51:23 +02:00
Michael Natterer
b9db13e4fc
app: fix GimpOperationReplaceMode to not do two things different than legacy
2012-05-02 17:51:23 +02:00
Michael Natterer
49175a2d1b
app: remove clamping from GimpOperationLevels, it was at a fishy place anyway
2012-05-02 17:51:22 +02:00
Ville Sokk
c5d7aaf52e
app: added gegl erase mode
2012-05-02 17:51:20 +02:00
Ville Sokk
0ac531fa3b
app: fixed a bug in gegl legacy blending modes
2012-05-02 17:51:19 +02:00
Michael Natterer
1badcb7ce9
app: add GIMP_PRECISION_U32 and all its formats
2012-05-02 17:51:19 +02:00
Michael Natterer
926f746b66
app: add gimp_babl_compat_u8_format() instead of having this code 5 times
2012-05-02 17:51:18 +02:00
Michael Natterer
2e7944cad0
app: add GIMP_PRECISION_HALF for 16 bit floating point
...
and use babl_format_get_palette() to simplify some code.
2012-05-02 17:51:18 +02:00
Øyvind Kolås
a539878bc4
app: set default tilemul for gimpgegltilebackend to 2
2012-05-02 17:51:18 +02:00
Michael Natterer
d81ea1315e
app: implement active, affected components in GEGL
...
Add GimpOperationMaskComponents, enum GimpComponentMask, and image and
drawable infrastructure to get the right mask, and plug the mask
operation into gimp_gegl_create_apply_buffer_node().
2012-05-02 17:51:17 +02:00
Michael Natterer
e15702cbe5
app: create gimp-babl-compat.[ch] for gimp_babl_format_get_image_type()
...
and remove gimp_drawable_type().
2012-05-02 17:51:15 +02:00
Michael Natterer
5167550271
app: add GIMP_PRECISION_U16 and all needed 16 bit integer formats
2012-05-02 17:51:15 +02:00
Michael Natterer
85ee13dd7d
app: don't crash GimpOperationReplaceMode is mask is NULL
2012-05-02 17:51:14 +02:00
Michael Natterer
32f6015898
app: change replace's "opacity" property from float to double
2012-05-02 17:51:14 +02:00
Ville Sokk
753bc23834
app: new gegl replace mode that uses mask and opacity inputs
2012-05-02 17:51:14 +02:00
Michael Natterer
0011fe5c50
app: special case REPLACE_MODE in gimp_gegl_create_apply_buffer_node()
...
it needs the mask/opacity on a separate input.
2012-05-02 17:51:14 +02:00
Ville Sokk
7eb0d8f4c8
app: added initial gegl replace mode
2012-05-02 17:51:13 +02:00
Michael Natterer
4772d3e832
app: add gimp_gegl_combine_mask() and use it in GimpPaintCore
2012-05-02 17:51:12 +02:00