summaryrefslogtreecommitdiffstats
path: root/gfx/wr/wrench/reftests/compositor-surface/underlay-mask-on-translucent-slice.yaml
blob: fe4ccc354c19bfff22d89e08ce321e4b178fed99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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]