summaryrefslogtreecommitdiffstats
path: root/gfx/wr/wrench/reftests/compositor-surface/underlay.yaml
blob: 11c2b7ebd7738f98ef566bb55bcc8aca08cfc1bb (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
# Verify that we correctly display an underlay style compositor
# surface when an overlapping translucent compositor surface
# exists earlier in the display list.
# Reference image is public-domain - https://en.wikipedia.org/wiki/File:Barn-yuv.png
---
root:
  items:
    - type: rect
      bounds: [0, 0, 500, 550]
      color: white
    - image: solid-color(255,0,0,128,299,299)
      bounds: [100, 100, 299, 299]
      prefer-compositor-surface: true
    - type: yuv-image
      format: planar
      src-y: barn-y.png
      src-u: barn-u.png
      src-v: barn-v.png
      bounds: [100, 100, 299, 299]
      prefer-compositor-surface: true
    - text: "Prohibited subpixel AA"
      origin: 110 380
      size: 20
      color: white
      font: "FreeSans.ttf"
    - text: "Allowed subpixel AA"
      origin: 110 480
      size: 20
      color: black
      font: "FreeSans.ttf"