summaryrefslogtreecommitdiffstats
path: root/gfx/wr/wrench/reftests/transforms/perspective-clip-1.yaml
blob: 82668e28ccdc9dce248d4f93b8d42b48ad1b3562 (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
25
26
27
28
29
30
---
root:
  items:
    -
      type: stacking-context
      bounds: [0, 0, 0, 0]
      perspective: [1, 0, 0, 0, 0, 1, 0, 0, -300, -250, 1, -0.5, 0, 0, 0, 1]
      items:
        -
          bounds: [0, 0, 0, 0]
          type: stacking-context
          transform: [10, 0, 0, 0, 0, 10, 0, 0, 0, 0, 1, 0, -5382, -3222, -18, 1]
          items:
            -
              bounds: [0, 0, 100, 100]
              type: rect
              color: red
            - type: clip
              id: 101
              complex:
                - rect: [0, 0, 100, 100]
                  radius: 16
            - type: clip-chain
              id: 201
              clips: [101]
            -
              bounds: [0, 0, 100, 100]
              type: rect
              color: green
              clip-chain: 201