summaryrefslogtreecommitdiffstats
path: root/gfx/wr/wrench/reftests/compositor-surface/underlay-mask-on-translucent-slice.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/wr/wrench/reftests/compositor-surface/underlay-mask-on-translucent-slice.yaml')
-rw-r--r--gfx/wr/wrench/reftests/compositor-surface/underlay-mask-on-translucent-slice.yaml24
1 files changed, 24 insertions, 0 deletions
diff --git a/gfx/wr/wrench/reftests/compositor-surface/underlay-mask-on-translucent-slice.yaml b/gfx/wr/wrench/reftests/compositor-surface/underlay-mask-on-translucent-slice.yaml
new file mode 100644
index 0000000000..fe4ccc354c
--- /dev/null
+++ b/gfx/wr/wrench/reftests/compositor-surface/underlay-mask-on-translucent-slice.yaml
@@ -0,0 +1,24 @@
+# Verify that a compositor surface with a mask, which is placed on
+# a translucent picture cache slice draws correctly.
+---
+root:
+ items:
+ - type: rect
+ bounds: [50, 50, 440, 338]
+ color: red
+ - type: clip
+ id: 3
+ complex:
+ - rect: [70, 70, 400, 298]
+ radius: 32
+ - type: scroll-frame
+ bounds: [50, 50, 200, 200]
+ items:
+ - type: yuv-image
+ format: planar
+ src-y: barn-y.png
+ src-u: barn-u.png
+ src-v: barn-v.png
+ bounds: [70, 70, 400, 298]
+ prefer-compositor-surface: true
+ clip-chain: [3]