gfx/wr/wrench/reftests/transforms/local-clip.yaml
author Kartikaya Gupta <kgupta@mozilla.com>
Thu, 22 Nov 2018 21:47:48 +0000
changeset 447760 89caaea53d18aaf2d4b90b98a2f989a8cdc7062b
permissions -rw-r--r--
Bug 1507524 - Move webrender to gfx/wr. r=jrmuizel This patch copies the webrender repository contents into gfx/wr. The existing files from gfx/webrender, gfx/webrender_api, and gfx/wrench are moved, and the remaining files are added. The revision being used is the same as before. In addition, the mozilla-central top-level Cargo.toml and the gfx/webrender_bindings/Cargo.toml files are updated to reflect the new structure. Differential Revision: https://phabricator.services.mozilla.com/D12059

---
root:
  items:
    -
      bounds: [0, 0, 1000, 1000]
      "clip-rect": [0, 0, 1000, 1000]
      type: clip
      id: 3
      "content-size": [1000, 1000]
    -
      bounds: [0, 0, 0, 0]
      "clip-and-scroll": 3
      type: "stacking-context"
      transform: rotate(45) translate(200, 200)
      items:
        -
          bounds: [0, 0, 100, 100]
          "clip-rect": [0, 0, 100, 100]
          type: clip
          id: 4
          "content-size": [100, 100]
        -
          bounds: [2, -182, 152, 216]
          "clip-rect": [2, 0, 152, 34]
          "clip-and-scroll": 4
          image: solid-color(255, 0, 0, 255, 100, 100)