summaryrefslogtreecommitdiffstats
path: root/gfx/wr/wrench/reftests/image/occlusion.yaml
blob: 4e89a7765b694a4b0a9c3107046e6919b07ad9ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Ensure that the clip rect of a primitive that is promoted to a compositor
# surface is correctly applied when registering it as an occlusion plane.

root:
  items:
    - type: rect
      color: red
      bounds: [50, 50, 200, 200]

    - type: yuv-image
      format: interleaved
      src: spacex-yuv.png
      bounds: [50, 50, 200, 200]
      prefer-compositor-surface: true
      clip-rect: [75, 75, 150, 150]