summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMika Isojärvi <misojarvi@google.com>2016-02-17 14:20:00 -0800
committerMika Isojärvi <misojarvi@google.com>2016-02-17 14:20:00 -0800
commit5882676a4a2c43be0a8819b5e53a035f8a4761b4 (patch)
tree0056f03126eeb9e3e8f955c2c4aa6e31b6395391
parent63d8d99cd0944e94e7d31c43ca78c33fe9096eec (diff)
downloadVK-GL-CTS-5882676a4a2c43be0a8819b5e53a035f8a4761b4.tar.gz
VK-GL-CTS-5882676a4a2c43be0a8819b5e53a035f8a4761b4.tar.bz2
VK-GL-CTS-5882676a4a2c43be0a8819b5e53a035f8a4761b4.zip
Report QualityWarning if resize doesn't crop image to corner.
Bug: 27170794 Change-Id: Ie52566d92ef4f3185e2baf6bb260c72bd92736bc
-rw-r--r--modules/egl/teglResizeTests.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/modules/egl/teglResizeTests.cpp b/modules/egl/teglResizeTests.cpp
index fd250e4f5..60cc66dfe 100644
--- a/modules/egl/teglResizeTests.cpp
+++ b/modules/egl/teglResizeTests.cpp
@@ -416,9 +416,10 @@ IterateResult PreserveBackBufferCase::iterate (void)
<< TestLog::Image("After resizing", "After resizing", newSurface)
<< TestLog::EndImageSet;
- m_status.check(compareCorners(oldSurface, newSurface),
- "Resizing the native window changed the contents of "
- "the EGL surface");
+ m_status.checkResult(compareCorners(oldSurface, newSurface),
+ QP_TEST_RESULT_QUALITY_WARNING,
+ "Resizing the native window changed the contents of "
+ "the EGL surface");
}
}
}