)]}'
{
  "commit": "cb58662302c8e73845116fc5f14acaa08c037cb2",
  "tree": "18275b2d3fd67afdff784dabc288d4a67d1967a1",
  "parents": [
    "c66dad9552ef9cab3a4dfb66c22d756fc5c4b06c"
  ],
  "author": {
    "name": "Corentin Wallez",
    "email": "cwallez@cwallez-macbookpro3.roam.corp.google.com",
    "time": "Fri Mar 27 17:38:29 2020 +0100"
  },
  "committer": {
    "name": "Corentin Wallez",
    "email": "cwallez@google.com",
    "time": "Wed Apr 01 17:31:06 2020 +0000"
  },
  "message": "MetalSurface: set layer.device to a ref of the system default device.\n\nIf layer.device is null, [layer nextDrawable] returns nil, so on surface\ninitialization we set layer.device to a dummy MTLDevice by getting a\nreference of the system default device.\n\nMTLCreateSystemDefaultDevice() requires linking against\nMetal.framework but Chromium needs to ship on platforms that don\u0027t have\nMetal. This means we can\u0027t directly link against the framework, instead\nwe \"weakly\" link against it so that if it is not present, the function\npointers are just null (instead of failing to launch).\n\nBug: dawn:269\nChange-Id: I5984613f576849c6f219c253da7eb277fa75ef52\nReviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/43209\nKokoro-Presubmit: Corentin Wallez \u003ccwallez@google.com\u003e\nKokoro-Presubmit: kokoro \u003cnoreply+kokoro@google.com\u003e\nReviewed-by: Nicolas Capens \u003cnicolascapens@google.com\u003e\nTested-by: Corentin Wallez \u003ccwallez@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "18324e9a1df580f9ccb1912745bdd490a55bb8fc",
      "old_mode": 33188,
      "old_path": "CMakeLists.txt",
      "new_id": "a0a8f370efce16c54ef563ff445426287a53f8df",
      "new_mode": 33188,
      "new_path": "CMakeLists.txt"
    },
    {
      "type": "modify",
      "old_id": "f1feb31fda37ea1424f829bdf2177f9947ba0bb3",
      "old_mode": 33188,
      "old_path": "src/WSI/BUILD.gn",
      "new_id": "6a558059d1aa245b954ef3f97d331e8efa0e929d",
      "new_mode": 33188,
      "new_path": "src/WSI/BUILD.gn"
    },
    {
      "type": "modify",
      "old_id": "c31248a51cef4984ce924baf3d47042525506460",
      "old_mode": 33188,
      "old_path": "src/WSI/MetalSurface.mm",
      "new_id": "f88689ec26c4dafcf57d56271ebb24cc0061c2c2",
      "new_mode": 33188,
      "new_path": "src/WSI/MetalSurface.mm"
    }
  ]
}
