7858eb3df2
Bug 766683: Burn Mode on Paint tools are producing artefacts
...
This operation produces NAN (0 / 0) and division
by zero when a layer component is zero.
Inline CLAMP to make sure it swallows also NAN.
A NAN is mapped to 1 for backward compatibility.
[the 2variate function comp (in[b], layer[b]) is
discontinuous at layer[b] = 0]
2016-06-06 18:53:22 +02:00
2b7088f6e9
Make Burn mode output match Gimp 2.8 ( partial revert of bug 744265 )
2016-03-07 16:26:58 -08:00
8ca9bfc291
app: burn-mode, invert before blending
2015-10-15 13:52:20 +02:00
23f118632c
app: clamp blended results for some compositing ops
...
Quite probably we shouldn't even clamp at the end, not doing that would speed
up compositing. See bug 744265.
2015-10-15 00:25:01 +02:00
84c132addc
Bug 721553 - License text contains obsolete FSF postal address
...
These files were forgotten when changing license from GPL2 to GPL3.
2014-01-05 14:25:46 +01:00
b10b1ba931
app: Change the opacity param of _pixels to gfloat
...
All the internal math is float, and avoiding the conversion
from double is much faster when using SSE math.
2013-06-19 16:19:34 -07:00
413a516f8e
Extract layer mode blend functions
...
Extract layer mode blend functions form their operations so
they can be used directly by paintcore.
2013-05-21 04:02:26 -07:00
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
e2510b2f98
app: cleaned code of blending modes
2012-05-31 22:22:25 +03:00
e377eb01cd
app: modified gegl blending modes to take mask and opacity inputs
2012-05-18 22:52:48 +02:00
7101ee191a
app: move all GEGL operations to new directory app/operations/
2012-05-10 21:22:44 +02:00