summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQt Forward Merge Bot <qt_forward_merge_bot@qt-project.org>2019-11-02 03:01:37 +0100
committerQt Forward Merge Bot <qt_forward_merge_bot@qt-project.org>2019-11-02 03:01:37 +0100
commitec61d1469d0cbfc9c8edb60fe3c78d6702aa79a8 (patch)
tree8b201350236518f849509306bd71d9a669d35449
parentd066a6e259478fe3e4c7007ce7e5953fbc82dc4b (diff)
parent77b89b243b7b4066ee784010641e14ba71e3c92c (diff)
downloadqtgraphicaleffects-ec61d1469d0cbfc9c8edb60fe3c78d6702aa79a8.tar.gz
Merge remote-tracking branch 'origin/5.14' into 5.15
Change-Id: Iabee1fbfb826fbc28fc90baa44394466dc10aeef
-rw-r--r--src/effects/BrightnessContrast.qml3
-rw-r--r--src/effects/ColorOverlay.qml3
-rw-r--r--src/effects/Colorize.qml3
-rw-r--r--src/effects/Desaturate.qml3
-rw-r--r--src/effects/GammaAdjust.qml3
-rw-r--r--src/effects/HueSaturation.qml3
-rw-r--r--src/effects/LevelAdjust.qml3
-rw-r--r--src/effects/plugins.qmltypes2
8 files changed, 8 insertions, 15 deletions
diff --git a/src/effects/BrightnessContrast.qml b/src/effects/BrightnessContrast.qml
index a95872c..85b38bb 100644
--- a/src/effects/BrightnessContrast.qml
+++ b/src/effects/BrightnessContrast.qml
@@ -167,8 +167,7 @@ Item {
SourceProxy {
id: sourceProxy
input: rootItem.source
- interpolation: rootItem.smooth || (rootItem.layer.enabled && rootItem.layer.smooth)
- ? SourceProxy.NearestInterpolation : SourceProxy.LinearInterpolation
+ interpolation: input && input.smooth ? SourceProxy.LinearInterpolation : SourceProxy.NearestInterpolation
}
ShaderEffectSource {
diff --git a/src/effects/ColorOverlay.qml b/src/effects/ColorOverlay.qml
index b2cdaa0..f348541 100644
--- a/src/effects/ColorOverlay.qml
+++ b/src/effects/ColorOverlay.qml
@@ -123,8 +123,7 @@ Item {
SourceProxy {
id: sourceProxy
input: rootItem.source
- interpolation: rootItem.smooth || (rootItem.layer.enabled && rootItem.layer.smooth)
- ? SourceProxy.NearestInterpolation : SourceProxy.LinearInterpolation
+ interpolation: input && input.smooth ? SourceProxy.LinearInterpolation : SourceProxy.NearestInterpolation
}
ShaderEffectSource {
diff --git a/src/effects/Colorize.qml b/src/effects/Colorize.qml
index 501111f..42f1796 100644
--- a/src/effects/Colorize.qml
+++ b/src/effects/Colorize.qml
@@ -210,8 +210,7 @@ Item {
SourceProxy {
id: sourceProxy
input: rootItem.source
- interpolation: rootItem.smooth || (rootItem.layer.enabled && rootItem.layer.smooth)
- ? SourceProxy.NearestInterpolation : SourceProxy.LinearInterpolation
+ interpolation: input && input.smooth ? SourceProxy.LinearInterpolation : SourceProxy.NearestInterpolation
}
ShaderEffectSource {
diff --git a/src/effects/Desaturate.qml b/src/effects/Desaturate.qml
index 3347e2f..e56de55 100644
--- a/src/effects/Desaturate.qml
+++ b/src/effects/Desaturate.qml
@@ -122,8 +122,7 @@ Item {
SourceProxy {
id: sourceProxy
input: rootItem.source
- interpolation: rootItem.smooth || (rootItem.layer.enabled && rootItem.layer.smooth)
- ? SourceProxy.NearestInterpolation : SourceProxy.LinearInterpolation
+ interpolation: input && input.smooth ? SourceProxy.LinearInterpolation : SourceProxy.NearestInterpolation
}
ShaderEffectSource {
diff --git a/src/effects/GammaAdjust.qml b/src/effects/GammaAdjust.qml
index e4e39e5..2c3edbb 100644
--- a/src/effects/GammaAdjust.qml
+++ b/src/effects/GammaAdjust.qml
@@ -159,8 +159,7 @@ luminance = pow(original_luminance, 1.0 / gamma); // The luminance is assumed to
SourceProxy {
id: sourceProxy
input: rootItem.source
- interpolation: rootItem.smooth || (rootItem.layer.enabled && rootItem.layer.smooth)
- ? SourceProxy.NearestInterpolation : SourceProxy.LinearInterpolation
+ interpolation: input && input.smooth ? SourceProxy.LinearInterpolation : SourceProxy.NearestInterpolation
}
ShaderEffectSource {
diff --git a/src/effects/HueSaturation.qml b/src/effects/HueSaturation.qml
index 526f474..eb13dcb 100644
--- a/src/effects/HueSaturation.qml
+++ b/src/effects/HueSaturation.qml
@@ -199,8 +199,7 @@ Item {
SourceProxy {
id: sourceProxy
input: rootItem.source
- interpolation: rootItem.smooth || (rootItem.layer.enabled && rootItem.layer.smooth)
- ? SourceProxy.NearestInterpolation : SourceProxy.LinearInterpolation
+ interpolation: input && input.smooth ? SourceProxy.LinearInterpolation : SourceProxy.NearestInterpolation
}
ShaderEffectSource {
diff --git a/src/effects/LevelAdjust.qml b/src/effects/LevelAdjust.qml
index 004c798..b98faca 100644
--- a/src/effects/LevelAdjust.qml
+++ b/src/effects/LevelAdjust.qml
@@ -408,8 +408,7 @@ Item {
SourceProxy {
id: sourceProxy
input: rootItem.source
- interpolation: rootItem.smooth || (rootItem.layer.enabled && rootItem.layer.smooth)
- ? SourceProxy.NearestInterpolation : SourceProxy.LinearInterpolation
+ interpolation: input && input.smooth ? SourceProxy.LinearInterpolation : SourceProxy.NearestInterpolation
}
ShaderEffectSource {
diff --git a/src/effects/plugins.qmltypes b/src/effects/plugins.qmltypes
index 7c2924c..4efab89 100644
--- a/src/effects/plugins.qmltypes
+++ b/src/effects/plugins.qmltypes
@@ -4,7 +4,7 @@ import QtQuick.tooling 1.2
// It is used for QML tooling purposes only.
//
// This file was auto-generated by:
-// 'qmlplugindump -nonrelocatable QtGraphicalEffects 1.13'
+// 'qmlplugindump -nonrelocatable QtGraphicalEffects 1.14'
Module {
dependencies: ["QtQuick 2.12", "QtQuick.Window 2.12"]