summaryrefslogtreecommitdiffstats
path: root/gfx/wr/wrench/reftests/filters/filter-segments.yaml
blob: dbb62ed7d35364e7261d73b65d2cebb56cc924ad (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
# Ensure that picture / filter primitives draw the entire primitive
# when they are eligible to be segmented. The red rects are used to
# mask out the corners, since the AA varies between the tests.
---
root:
  items:
    - type: clip
      id: 2
      complex:
        - rect: [10, 10, 256, 256]
          radius: 16
    - type: stacking-context
      filters: grayscale(1)
      items:
        - type: rect
          color: red
          bounds: [10, 10, 512, 512]
          clip-chain: [2]
    - type: rect
      color: red
      bounds: [0, 0, 300, 32]
    - type: rect
      color: red
      bounds: [0, 250, 300, 32]