aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/scenegraph/data
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/quick/scenegraph/data')
-rw-r--r--tests/auto/quick/scenegraph/data/mipmap_large.pngbin4465 -> 6536 bytes
-rw-r--r--tests/auto/quick/scenegraph/data/mipmap_small.pngbin170 -> 124 bytes
-rw-r--r--tests/auto/quick/scenegraph/data/render_Mipmap.qml9
3 files changed, 5 insertions, 4 deletions
diff --git a/tests/auto/quick/scenegraph/data/mipmap_large.png b/tests/auto/quick/scenegraph/data/mipmap_large.png
index 9cb0fc7de1..1b6d99c45c 100644
--- a/tests/auto/quick/scenegraph/data/mipmap_large.png
+++ b/tests/auto/quick/scenegraph/data/mipmap_large.png
Binary files differ
diff --git a/tests/auto/quick/scenegraph/data/mipmap_small.png b/tests/auto/quick/scenegraph/data/mipmap_small.png
index dc5216fb6c..2e53012ef5 100644
--- a/tests/auto/quick/scenegraph/data/mipmap_small.png
+++ b/tests/auto/quick/scenegraph/data/mipmap_small.png
Binary files differ
diff --git a/tests/auto/quick/scenegraph/data/render_Mipmap.qml b/tests/auto/quick/scenegraph/data/render_Mipmap.qml
index 6d9191c5ac..9bd585373a 100644
--- a/tests/auto/quick/scenegraph/data/render_Mipmap.qml
+++ b/tests/auto/quick/scenegraph/data/render_Mipmap.qml
@@ -32,6 +32,7 @@
****************************************************************************/
import QtQuick 2.3
+import QtQuick.Window 2.2
/*
The test verifies that scaled down mipmapped images contains
@@ -39,8 +40,8 @@ import QtQuick 2.3
#samples: 2
PixelPos R G B Error-tolerance
- #final: 0 0 0.33 0.33 0.33 0.1
- #final: 1 0 0.33 0.33 0.33 0.1
+ #final: 0 0 0.25 0.25 0.25 0.1
+ #final: 1 0 0.25 0.25 0.25 0.1
*/
RenderTestBase
@@ -52,7 +53,7 @@ RenderTestBase
source: "mipmap_small.png"
mipmap: true
smooth: false
- scale: 1 / width;
+ scale: 1 / (width * Screen.devicePixelRatio);
}
Image {
@@ -62,7 +63,7 @@ RenderTestBase
source: "mipmap_large.png"
mipmap: true
smooth: false
- scale: 1 / width;
+ scale: 1 / (width * Screen.devicePixelRatio);
}
onEnterFinalStage: finalStageComplete = true;