4a3fbb8f35
app: fix OVERLAY mode so it gets fed linear data
2017-01-23 18:09:20 +01:00
83374f490a
app: make replace mode request linear data
2017-01-22 18:47:34 +01:00
7079d5f730
app: add a huge switch() to gimp_layer_mode_get_composite_mode()
...
It's going to be used to the UI too and should return something
to display, even if immutable.
2017-01-21 22:31:09 +01:00
da10525073
app: change default composite mode for new modes to src-atop
2017-01-21 22:12:23 +01:00
c152fa8651
app: fix the blend space of the legacy modes to be perceptual
2017-01-21 22:03:40 +01:00
386e18e510
app: rename GimpLayerBlendTRC to GimpLayerColorSpace
...
It is used both for blending and compositing, the repeated use of the word
BLEND in code made the logic involving both blending and compositing hard to
read.
2017-01-19 19:17:24 +00:00
41fff6990e
app: make layer modes more configurable
...
Implement a common utility function gimp_blend_composite that uses utility
functions for implementing layer modes, with separate (possibly SIMD) optimized
loops for blending and compositing, with configured linear TRC, perceptual
gamma TRC or even using CIE Lab as the space.
2017-01-19 01:04:15 +01:00
b809613be0
app: implement gimp_layer_mode_get_blend_trc()
2017-01-17 17:41:05 +01:00
0bcb3068fe
app: fix typo s/GIMP_LAYER_COMPOSITE_OVER/GIMP_LAYER_COMPOSITE_SRC_OVER/
2017-01-17 15:23:36 +01:00
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
5eb0fa816a
app, libgimp: add LINEAR variants of more layer modes
...
for completeness/consistency, even if they don't make much sense for
prectical use.
2017-01-15 16:02:10 +01:00
a24e232522
app: move functions on enum GimpLayerMode to new files gimp-layer-modes.[ch]
2017-01-15 15:25:03 +01:00