summaryrefslogtreecommitdiffstats
path: root/gfx/wr/wrench/reftests/compositor-surface/multiple-underlays-with-mask.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/wr/wrench/reftests/compositor-surface/multiple-underlays-with-mask.yaml')
-rw-r--r--gfx/wr/wrench/reftests/compositor-surface/multiple-underlays-with-mask.yaml28
1 files changed, 28 insertions, 0 deletions
diff --git a/gfx/wr/wrench/reftests/compositor-surface/multiple-underlays-with-mask.yaml b/gfx/wr/wrench/reftests/compositor-surface/multiple-underlays-with-mask.yaml
new file mode 100644
index 0000000000..cffc48299a
--- /dev/null
+++ b/gfx/wr/wrench/reftests/compositor-surface/multiple-underlays-with-mask.yaml
@@ -0,0 +1,28 @@
+# Verify that we correctly handle multiple underlays where subsequent underlays have masks
+# Reference image is public-domain - https://en.wikipedia.org/wiki/File:Barn-yuv.png
+---
+root:
+ items:
+ - type: rect
+ color: white
+ bounds: [0, 0, 500, 500]
+ - type: clip
+ id: 3
+ complex:
+ - rect: [150, 150, 199, 199]
+ radius: 32
+ - type: yuv-image
+ format: planar
+ src-y: barn-y.png
+ src-u: barn-u.png
+ src-v: barn-v.png
+ bounds: [100, 100, 299, 299]
+ prefer-compositor-surface: true
+ - type: yuv-image
+ format: planar
+ src-y: barn-y.png
+ src-u: barn-u.png
+ src-v: barn-v.png
+ bounds: [150, 150, 199, 199]
+ prefer-compositor-surface: true
+ clip-chain: [3]