summaryrefslogtreecommitdiffstats
path: root/gfx/wr/wrench/reftests/split/perspective-clipping.yaml
blob: 7135f27c3782588d285c63f44268705bbae81c14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
---
root:
  items:
    - type: stacking-context
      bounds: 0 0 1024 768
      items:
        - type: rect
          bounds: 0 0 1024 768
          color: red
        - type: stacking-context
          bounds: 0 0 1024 768
          transform-style: preserve-3d
          perspective: 300
          perspective-origin: 0 0
          items:
            - type: stacking-context
              bounds: 0 0 1024 768
              # translate-Z(-300) scale(2)
              transform: 2 0 0 0 0 2 0 0 0 0 2 0 0 0 -300 1
              items:
                - type: rect
                  bounds: 0 0 1024 768
                  color: green