tor-browser

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

tile-repeat-prim-or-decompose.yaml (760B)


      1 # This test aims at exercising the different ways we handle repetition of tiled images.
      2 root:
      3  items:
      4    # This should cause the primitive repetition to be decomposed on the cpu along the x axis
      5    # but perform the repetition along the y axis on the image shader because the image width
      6    # fits within the tile size.
      7    - image: xy-gradient(500, 50)
      8      bounds: 0 0 800 800
      9      stretch-size: 50 50
     10      tile-size: 50
     11    # This should cause the primitive repetition to be decomposed on the cpu along the y axis
     12    # but perform the repetition along the x axis in the image shader because the image height
     13    # fits within the tile size.
     14    - image: xy-gradient(50, 500)
     15      bounds: 800 0 800 800
     16      stretch-size: 50 50
     17      tile-size: 50