6e72d3eddf
app: add blend-trc and composite-mode properties to GimpOperationPointLayerMode
...
and set them to unused default values.
2017-01-17 15:09:17 +01:00
5c4eb75361
app: register the enums in operations-enums.h as GTypes
...
and rename them to GimpLayerBlendTRC and GimpLayerCompositeMode.
2017-01-17 01:19:06 +01:00
e267d87963
app: add operations-enums.h with two soon-needed enums
2017-01-16 23:07:50 +01:00
69c4644e15
app: rename GimpLayerModeFunction to GimpLayerModeFunc
...
like all other function typedefs and add GimpBlendFunc typedef which
will be needed soon. Also rename get_layer_mode_function() to
gimp_get_layer_mode_function().
2017-01-16 22:44:01 +01:00
e1b7eb7245
app: divide blend mode, limit high values to 5.0
...
Possibly counteracting inaccuracies in used babl conversions, but with this the
result match legacy as expected.
2017-01-16 02:36:11 +01:00
60847cce73
app: remove odd ratio scaling, replace with range check for nan
2017-01-15 01:33:40 +01:00
315ccc7f82
app: remove clamping in multiply mode
2017-01-15 01:33:40 +01:00
50669fe6d4
app, libgimp: rename BEHIND enum values to be consistent with others
...
Also update gimplayermodefunctions.c which I forgot before.
2017-01-15 00:01:09 +01:00
f01374798e
app: remove clamps from addition, subtract and grain blend modes
2017-01-14 21:06:06 +01:00
39adf3627d
app: use hypotf in lhc chroma blend mode
2017-01-14 21:03:29 +01:00
f8c65367f0
app: cache fishes in lch blend modes
2017-01-13 19:21:01 +00:00
975a0a6943
app: reuse more code
2017-01-13 19:21:01 +00:00
be8c2015a0
app: move factored out compositing to common header
2017-01-13 19:21:01 +00:00
acd20fb55b
app: use cached fishes in lch chroma mode
2017-01-13 19:21:00 +00:00
7959141eb4
app: make compositing of hsv value blend mode consistent
2017-01-13 14:26:36 +01:00
75173b97d9
app: make compositing of grain extract blend mode consistent
2017-01-13 14:26:05 +01:00
954030fab6
app: make compositing of dodge blend mode consistent with rest
2017-01-13 14:25:46 +01:00
13eab78ecc
app: improve and simplify alpha handling of LCH blending modes
2017-01-13 14:15:35 +01:00
feb2bb4083
app: lch color modes remove unneeded includes
2017-01-13 13:53:08 +01:00
0b1f684e8f
app: remove unneded variable named tmp
2017-01-13 13:38:12 +01:00
24b04c0b40
app: use single precision hypotf and constants for performance
2017-01-13 13:17:25 +01:00
dc5b86f0eb
app: add TRC variants to get_layer_mode_function()
2017-01-12 15:18:44 +01:00
36ebe03770
app: remove lingering old files of dead code
2017-01-11 15:18:52 +01:00
a187329777
app: sort includes in gimp-operations.c
2017-01-11 15:00:37 +01:00
77f9659c98
app: move gimplayermodefunctions.[ch] to layer-modes/
2017-01-11 14:58:43 +01:00
b959e0b69b
app: move GimpOperationPointLayerMode to layer-modes/
2017-01-11 14:44:10 +01:00
e17f640fba
app: eliminate unnecessary condition in GimpOperationReplaceMode
...
8-bit relic.
2017-01-11 08:21:02 -05:00
ad134263d2
app: clean up Makefile.am in layer-modes/ and layer-modes-legacy/
2017-01-11 13:00:27 +01:00
8b5553cef6
app: move the remaining 3 layer modes to layer-modes/
...
Not exactly sure if all are correct, but the file moving is almost
done now.
2017-01-11 12:55:13 +01:00
b90fa4f0d3
app: clean up spaces in GimpOperationColorEraseMode
2017-01-11 12:42:27 +01:00
01b25baffd
app: change mask handling in GimpOperationReplaceMode
...
to be like in the other modes, and proably speed it up a little.
2017-01-11 12:38:58 +01:00
f45fc97eba
app: add missing op .h files
2017-01-11 04:54:36 +01:00
ec1f7a94e3
app: split legacy out of grain extract and merge
2017-01-11 04:40:26 +01:00
8f3842434c
app: split legacy out of soft and hard light
2017-01-11 04:10:06 +01:00
784a8ee224
app: split legacy out of burn and divide
2017-01-11 03:17:53 +01:00
0891028232
app: forgot to s/gimp:normal-mode/gimp:normal/g
2017-01-11 00:28:57 +01:00
9142bb1805
app: move erase and anti-erase to layer-modes/
2017-01-11 00:23:31 +01:00
56ba42a97c
app: correct names of screen and difference layer ops
2017-01-10 21:48:03 +01:00
71030f49e9
app: duplicate hsv layer modes, and fix alpha handling
2017-01-10 21:48:03 +01:00
c3e5e30450
app: split legacy lighten only and darken only ops
2017-01-10 11:18:52 +01:00
99189d7a28
app: move dissolve to layer-modes/
2017-01-10 09:06:16 +01:00
153796df9b
app: fix names of addition and subtract ops
2017-01-10 02:29:34 +01:00
dfcb5c11de
app: add new files for subtract/addition ops
2017-01-10 01:42:34 +01:00
5a7fd54d34
app: split addition and subract in legacy and new
2017-01-10 01:40:14 +01:00
60e1d8e35f
app: move the LCH layer modes to layer-modes/
2017-01-10 01:04:49 +01:00
92047ea949
app: layer op fission cleanup
2017-01-10 00:00:31 +01:00
b001626b31
app: move overlay to operations/layer-modes/ and call it GimpOperationOverlay
2017-01-09 23:54:51 +01:00
b6be1b768e
app: duplicate difference mode, new and legacy
2017-01-09 23:49:08 +01:00
9d5893f402
app: add the ops for screen blend ops
2017-01-09 23:25:59 +01:00
3a50cdcd4f
app: split screen op in legacy and new
2017-01-09 23:19:29 +01:00