Source code

Revision control

Copy as Markdown

Other Tools

# 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"