Bug 1671535 - Add 10 bits reftest with filter applied. r=mattwoodrow

This allows to test our readback implementation across platforms.

Differential Revision: https://phabricator.services.mozilla.com/D93716
This commit is contained in:
Jean-Yves Avenard 2020-10-20 23:17:36 +00:00
Родитель e61c0c2555
Коммит 44f7c14c88
3 изменённых файлов: 24 добавлений и 0 удалений

Просмотреть файл

@ -0,0 +1,4 @@
<!DOCTYPE HTML>
<img style="position:absolute; left:0; top:0; filter:hue-rotate(90deg);"
src="av1hdr2020.png"
>

Просмотреть файл

@ -0,0 +1,19 @@
<!DOCTYPE HTML>
<html class="reftest-wait">
<head>
<script type="text/javascript">
function doTest() {
var video = document.getElementById("v1");
video.src = "av1hdr2020.mp4";
video.preload = "metadata";
video.addEventListener("loadeddata", function() {
document.documentElement.removeAttribute('class');
});
}
window.addEventListener("MozReftestInvalidate", doTest);
</script>
</head>
<body>
<video id="v1" style="position:absolute; left:0; top:0; filter:hue-rotate(90deg);"></video>
</body>
</html>

Просмотреть файл

@ -5,5 +5,6 @@ skip-if(Android) fuzzy-if(OSX,0-25,0-175921) fuzzy-if(winWidget,0-71,0-179198) f
skip-if(Android) fuzzy-if((/^Windows\x20NT\x2010\.0/.test(http.oscpu))&&(/^aarch64-msvc/.test(xulRuntime.XPCOMABI)),0-136,0-427680) == vtt_update_display_after_removed_cue.html vtt_update_display_after_removed_cue_ref.html
skip-if(Android) fuzzy-if(winWidget,0-170,0-170) == vtt_overlapping_time.html vtt_overlapping_time-ref.html
skip-if(Android) skip-if(MinGW) skip-if((/^Windows\x20NT\x2010\.0/.test(http.oscpu))&&(/^aarch64-msvc/.test(xulRuntime.XPCOMABI))) fuzzy(0-8,0-778236) fuzzy-if(swgl,190-195,769689-778544) == image-10bits-rendering-video.html image-10bits-rendering-ref.html
skip-if(Android) skip-if(MinGW) skip-if((/^Windows\x20NT\x2010\.0/.test(http.oscpu))&&(/^aarch64-msvc/.test(xulRuntime.XPCOMABI))) fuzzy(0-8,0-778236) fuzzy-if(swgl,240-255,769689-778544) == image-10bits-rendering-90-video.html image-10bits-rendering-90-ref.html
skip-if(Android) fuzzy(0-23,0-565380) fuzzy-if(swgl,240-255,540000-576000) == image-10bits-rendering-720-video.html image-10bits-rendering-720-ref.html
skip-if(Android) fuzzy(0-23,0-565380) fuzzy-if(swgl,240-255,540000-576000) == image-10bits-rendering-720-90-video.html image-10bits-rendering-720-90-ref.html