tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

multiple-underlays-with-mask.yaml (762B)


      1 # Verify that we correctly handle multiple underlays where subsequent underlays have masks
      2 # Reference image is public-domain - https://en.wikipedia.org/wiki/File:Barn-yuv.png
      3 ---
      4 root:
      5  items:
      6    - type: rect
      7      color: white
      8      bounds: [0, 0, 500, 500]
      9    - type: clip
     10      id: 3
     11      complex:
     12        - rect: [150, 150, 199, 199]
     13          radius: 32
     14    - type: yuv-image
     15      format: planar
     16      src-y: barn-y.png
     17      src-u: barn-u.png
     18      src-v: barn-v.png
     19      bounds: [100, 100, 299, 299]
     20      prefer-compositor-surface: true
     21    - type: yuv-image
     22      format: planar
     23      src-y: barn-y.png
     24      src-u: barn-u.png
     25      src-v: barn-v.png
     26      bounds: [150, 150, 199, 199]
     27      prefer-compositor-surface: true
     28      clip-chain: [3]