)]}'
{
  "commit": "af0301a8f85a6c1dbb879d7db6925515914ab7bd",
  "tree": "3211c41cabc6b9ffd2fdbb57d4f041753324e449",
  "parents": [
    "3702d8c9d300fe125cadd54c69275e2c5d24d143"
  ],
  "author": {
    "name": "Shahbaz Youssefi",
    "email": "syoussefi@chromium.org",
    "time": "Tue Apr 09 10:43:04 2019 -0400"
  },
  "committer": {
    "name": "Commit Bot",
    "email": "commit-bot@chromium.org",
    "time": "Tue Apr 09 19:15:28 2019 +0000"
  },
  "message": "Vulkan: fix CPU throttling frames to 2\n\nPreviously, the CPU was throttled to be at most N frames ahead, N being\nthe number of swapchain images.  N is now fixed to 2, regardless of the\nnumber of swapchain images.  If N \u003c 2, we would be stalling the CPU\nunnecessarily, and if N \u003e 2, the CPU could get too far ahead.\n\nEffectively, here is how the throttling plays out with this commit:\n\nSubmit (Fence 1) + Present\nSubmit (Fence 2) + Present\nWait Fence 1\nSubmit (Fence 3) + Present\nWait Fence 2\nSubmit (Fence 4) + Present\nWait Fence 3\nSubmit (Fence 5) + Present\nWait Fence 4\n...\n\nBug: angleproject:2942\nChange-Id: I3b8c3bb88e52d62231306ec84aad50d2bf472d8c\nReviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1558681\nReviewed-by: Ian Elliott \u003cianelliott@google.com\u003e\nCommit-Queue: Shahbaz Youssefi \u003csyoussefi@chromium.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "8164a91491d4afdd9f511a1df9a871b16b64ba5e",
      "old_mode": 33188,
      "old_path": "src/libANGLE/renderer/vulkan/SurfaceVk.cpp",
      "new_id": "024111adea1bf1379061e509aab6d58e858c3135",
      "new_mode": 33188,
      "new_path": "src/libANGLE/renderer/vulkan/SurfaceVk.cpp"
    },
    {
      "type": "modify",
      "old_id": "8ea5290269552f5f8af9c9dba4d13a5fb9f1b3d6",
      "old_mode": 33188,
      "old_path": "src/libANGLE/renderer/vulkan/SurfaceVk.h",
      "new_id": "886e9024f4f47dc91d4fb455f0a71ee4aca936cc",
      "new_mode": 33188,
      "new_path": "src/libANGLE/renderer/vulkan/SurfaceVk.h"
    }
  ]
}
