Commit Graph

431 Commits

Author SHA1 Message Date
Michael Natterer 9de6e41abb app: remove prepare() implementations from all layer mode operations
so the one in GimpOperationPointLayerMode is used which can switch
between RGBA and R'G'B'A.
2013-04-26 23:48:05 +02:00
Michael Natterer 5322d6a544 app: sense the input format in gimp:mask-components
because it can work on RGBA and R'G'B'A without conversions.
2013-04-26 23:29:03 +02:00
Michael Natterer c865d8f141 Bug 622054 - Levels Tool gray point picker causes lockup
Bail out in gimp_levels_config_adjust_by_colors() if pure
back or white was picked as gray (gamma).
2013-03-27 22:28:29 +01:00
Michael Natterer 3a0daf540a app: enable the fast path again in GimpOperationNormalMode
but fix it to not take the fast path if opacity is != 1.0 or there is
a mask.
2013-03-11 15:38:28 +01:00
Michael Natterer 2dc36a9dee app: add a fast path in GimpOperationMaskComponent
Pass through the input buffers nop-style if the mask is either 0 or ALL.
2013-03-11 00:21:23 +01:00
Ville Skyttä 6b0d1038cc Bug 692641 - Various spelling fixes 2013-01-27 18:59:02 +01:00
Michael Natterer 9b6703371e app: remove premultiplied blending code from the few ops that had it
Change GimpOperationPointLayerMode's "premultiplied" to "linear" and
set format to "RGBA float" if it's TRUE. Everything defaults to FALSE
so nothing changes.
2012-12-13 22:58:38 +01:00
Michael Natterer cf0ac5a57b Bug 685830 - opacity and mask of bottom layer ignored on Normal Mode
Let's prefer correct over broken but fast: disabled broken
optimization for the bottom layer.
2012-10-09 21:52:12 +02:00
Michael Natterer d169244955 Bug 143315 - Turning off alpha channel visibility should make alpha=255
When the alpha channel is "invisible", make it 1.0 not 0.0.
2012-10-07 22:36:42 +02:00
Michael Natterer 4cc1084c11 app: allow a NULL "aux" in gimp:mask-components
and use black transparency instead, so it can be used for implementing
the image's component visibility.
2012-10-06 23:45:59 +02:00
Michael Natterer d0d1962d10 app: include cleanup and s/M_PI/G_PI/ in test-operations 2012-08-03 23:41:29 +02:00
Michael Natterer a9179601c9 app: remove g_thread_init() from test-operations.c 2012-07-31 16:47:57 +02:00
Ville Sokk a6e1eace45 app: temporarily disable operations testing 2012-06-28 19:07:29 +03:00
Michael Natterer 1e3db809c2 app: make test-operations build again 2012-06-26 13:36:41 +02:00
Ville Sokk ea497fb1ca app: shortened gegl operations testing makefile 2012-06-14 21:30:11 +03:00
Ville Sokk 1edb18c30a app: modified and moved gegl operation testing to operations/tests 2012-06-14 21:30:00 +03:00
Ville Sokk e35427071b app: added test for gegl operations 2012-06-14 21:29:52 +03:00
Ville Sokk 83680825d0 app: removed unnecessary argument from gimp_operations_init 2012-06-14 21:29:43 +03:00
Michael Natterer e13b892c6e app: fix the (unused) "mask and value" case in GimpOperationSetAlpha
and operate in linear RGBA, this op doesn't touch the colors anyway.
2012-06-11 12:41:32 +02:00
Ville Sokk e2510b2f98 app: cleaned code of blending modes 2012-05-31 22:22:25 +03:00
Ville Sokk 8079285c91 app: added gegl version of color erase mode 2012-05-31 22:22:00 +03:00
Michael Natterer 3456fcb2fc app: remove inclusion of "paint-funcs/paint-funcs.h" 2012-05-19 11:46:21 +02:00
Michael Natterer 4699725821 app: port floating selection blending to the new mode ops
Also, remove the fallback layer mode code from GimpOperationPointLayerMode,
and pass premultiplied = FALSE to gimp_gegl_node_set_layer_mode().
2012-05-18 23:37:56 +02:00
Ville Sokk e377eb01cd app: modified gegl blending modes to take mask and opacity inputs 2012-05-18 22:52:48 +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 06382a0037 app: add operations-types.h to Makefile.am 2012-05-11 15:57:31 +02:00
Michael Muré d9ba8b81da Bug 675825 - (cage) simply using cage transform tool makes gimp to crash.
Just check if there is enough handles before closing
2012-05-11 12:02:58 +09:00
Simon Budig 8f40eba702 change the pow() workaround to be more HDR safe 2012-05-10 21:41:56 +02:00
Michael Natterer 7101ee191a app: move all GEGL operations to new directory app/operations/ 2012-05-10 21:22:44 +02:00