summaryrefslogtreecommitdiffstats
path: root/gfx/wr/wrench/benchmarks/clip-clear.yaml
blob: f23440a3f11f2bda751e5c88aaf0569def4a9ae1 (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# Benchmark to test the cost of clears on a clip mask target that
# is large but has low usage.
---
root:
  items:
    -
      bounds: 0 0 1000 1000
      type: stacking-context
      items:
        - type: clip
          bounds: [50, 50, 300, 300]
          complex:
            - rect: [50, 50, 300, 300]
              radius: 50
          items:
          - type: rect
            bounds: 50 50 300 300
            color: red
          - type: rect
            bounds: 50 50 300 300
            color: red
          - type: rect
            bounds: 50 50 300 300
            color: red
          - type: rect
            bounds: 50 50 300 300
            color: red
          - type: rect
            bounds: 50 50 300 300
            color: red
          - type: rect
            bounds: 50 50 300 300
            color: red
          - type: rect
            bounds: 50 50 300 300
            color: red
          - type: rect
            bounds: 50 50 300 300
            color: red
          - type: rect
            bounds: 50 50 300 300
            color: red
          - type: rect
            bounds: 50 50 300 300
            color: red
          - type: rect
            bounds: 50 50 300 300
            color: red