)]}'
{
  "commit": "49998b939bf397efedfb6a82ddaca3c9fb1990a6",
  "tree": "7a74007609a3d19bc3009aa09a5eb7e83bba47eb",
  "parents": [
    "749e67a947bc0183c90ba40f39ef95584f65ef9b"
  ],
  "author": {
    "name": "Emircan Uysaler",
    "email": "uysalere@gmail.com",
    "time": "Thu Sep 07 14:14:46 2023 -0400"
  },
  "committer": {
    "name": "emircan",
    "email": "uysalere@gmail.com",
    "time": "Mon Sep 11 18:13:52 2023 -0400"
  },
  "message": "[fuchsia] Restructure Flatland vsync loop (#45531)\n\nThis CL restructures Flatland vsync loop to fire for each vsync instead\nof each OnNextFrameBegin. As shown in the traces attached to the bug,\nthe current implementation of firing callbacks on each OnNextFrameBegin\ncauses skips when Flutter has longer draw calls. By scheduling frames in\nbetween, we are increasing the chance of sending one before the latch\npoint. OnNextFrameBegin is now used to keep track of present credits and\nfuture presentation times as well as when to start frame, replacing the\nneed for max_frames_in_flight and vsync_offset fields.\n\nBug: b/296272449\n(cherry picked from commit 633ba427c498d9a5d096ac4979ecaa83ace4deaa)\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "b0612ac6a5e13a5170d3749b97112dd443276e0a",
      "old_mode": 33188,
      "old_path": "shell/platform/fuchsia/flutter/engine.cc",
      "new_id": "3543c84223c6f155ce33a24bbe71277e797fbef7",
      "new_mode": 33188,
      "new_path": "shell/platform/fuchsia/flutter/engine.cc"
    },
    {
      "type": "modify",
      "old_id": "5b3a029fab8935fbc44ebab13976d585ddd00046",
      "old_mode": 33188,
      "old_path": "shell/platform/fuchsia/flutter/flatland_connection.cc",
      "new_id": "cfc7ea092345554ac37ac6f5c7da5fb548796fac",
      "new_mode": 33188,
      "new_path": "shell/platform/fuchsia/flutter/flatland_connection.cc"
    },
    {
      "type": "modify",
      "old_id": "2d894de6cd09dad5895f58a4bb250bc79daad39e",
      "old_mode": 33188,
      "old_path": "shell/platform/fuchsia/flutter/flatland_connection.h",
      "new_id": "6b03f0685c9c7aa26b13f46ae4c02d484986bece",
      "new_mode": 33188,
      "new_path": "shell/platform/fuchsia/flutter/flatland_connection.h"
    },
    {
      "type": "modify",
      "old_id": "f0137c355dbb0b66f2e0d0d0e290416a377a2175",
      "old_mode": 33188,
      "old_path": "shell/platform/fuchsia/flutter/flutter_runner_product_configuration.cc",
      "new_id": "6a536d585b0fe42255595d75ac3248dc4865168f",
      "new_mode": 33188,
      "new_path": "shell/platform/fuchsia/flutter/flutter_runner_product_configuration.cc"
    },
    {
      "type": "modify",
      "old_id": "3b6fceb7e4e8ad041d0d7c6392d77ba5a658ebaf",
      "old_mode": 33188,
      "old_path": "shell/platform/fuchsia/flutter/flutter_runner_product_configuration.h",
      "new_id": "7fe73bc755844599922b688cdcddfdad39cd0390",
      "new_mode": 33188,
      "new_path": "shell/platform/fuchsia/flutter/flutter_runner_product_configuration.h"
    },
    {
      "type": "modify",
      "old_id": "69f010687362dba53d6d0c8141899b3e84220fdc",
      "old_mode": 33188,
      "old_path": "shell/platform/fuchsia/flutter/tests/external_view_embedder_unittests.cc",
      "new_id": "97581fa2a04649c6d706bb887d0691b2e7952bf2",
      "new_mode": 33188,
      "new_path": "shell/platform/fuchsia/flutter/tests/external_view_embedder_unittests.cc"
    },
    {
      "type": "modify",
      "old_id": "7aab5477182f7e957dc36353b0d4e28ec0b5ffaa",
      "old_mode": 33188,
      "old_path": "shell/platform/fuchsia/flutter/tests/flatland_connection_unittests.cc",
      "new_id": "f70afc92d25113feacea58c79f6945baf9e6306f",
      "new_mode": 33188,
      "new_path": "shell/platform/fuchsia/flutter/tests/flatland_connection_unittests.cc"
    },
    {
      "type": "modify",
      "old_id": "2e287dbbdbf659a75239d203f9dd0fe980bf8f34",
      "old_mode": 33188,
      "old_path": "shell/platform/fuchsia/flutter/tests/flutter_runner_product_configuration_unittests.cc",
      "new_id": "51fa2a1a3816aaa5d63ebdf027df4326f917a2c2",
      "new_mode": 33188,
      "new_path": "shell/platform/fuchsia/flutter/tests/flutter_runner_product_configuration_unittests.cc"
    }
  ]
}
