)]}'
{
  "commit": "297d5e5e81b07d9a0a0576a86fd43e4efbbe2d70",
  "tree": "ba24fc3a008f13ff9b5653a0e47068405f2a4a43",
  "parents": [
    "fb52d34d402bca2dcaeed2de5b8e4ebc691e9c8b"
  ],
  "author": {
    "name": "Jeff Brown",
    "email": "jeffbrown@google.com",
    "time": "Tue Jan 26 15:50:13 2016 -0800"
  },
  "committer": {
    "name": "Jeff Brown",
    "email": "jeffbrown@google.com",
    "time": "Tue Jan 26 15:50:13 2016 -0800"
  },
  "message": "Improve Ganesh helpers.\n\nProperly reset and flush the Ganesh context when needed.\n\nWhen intermixing Ganesh rendering with other GL operations, the\nGanesh renderer\u0027s cached GPU state can get out of sync with the\nactual state of the GL context, resulting in broken behavior.\n\nTo fix this problem, reset the Ganesh context when entering its\nscope and flush it when exiting its scope.  This operation has a\nsmall performance cost but only when entering and exiting the scope\nwhich should be infrequent (ideally no more than once per frame).\n\nAdded a helper for creating SkImages from a texture and updated\nthe GaneshTextureSurface to use the new GrGLTextureInfo type\nwhich was introduced in the latest Skia roll.\n\nMoved helpers into the mojo::skia namespace.\n\nR\u003dabarth@google.com\n\nReview URL: https://codereview.chromium.org/1534033002 .\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "01459f2953789d2a2afe339f1c36720cc859be9e",
      "old_mode": 33188,
      "old_path": "mojo/skia/BUILD.gn",
      "new_id": "60baa2f99203ebdfc65b165dd3371e7ff3985e35",
      "new_mode": 33188,
      "new_path": "mojo/skia/BUILD.gn"
    },
    {
      "type": "modify",
      "old_id": "76b7c597332914472b8d6a52ecb903a2a0fb7e80",
      "old_mode": 33188,
      "old_path": "mojo/skia/ganesh_context.cc",
      "new_id": "735a902ca492579792fb7271fad22466d7bd7555",
      "new_mode": 33188,
      "new_path": "mojo/skia/ganesh_context.cc"
    },
    {
      "type": "modify",
      "old_id": "149981d3031d5be07ecb476cc74ac9090bc7a4d1",
      "old_mode": 33188,
      "old_path": "mojo/skia/ganesh_context.h",
      "new_id": "e3f72db4237e91e9953a01f7e7ccc50562504205",
      "new_mode": 33188,
      "new_path": "mojo/skia/ganesh_context.h"
    },
    {
      "type": "modify",
      "old_id": "f56d11e2e58163b0fe2fe96dfcbc27c00ac8517f",
      "old_mode": 33188,
      "old_path": "mojo/skia/ganesh_framebuffer_surface.cc",
      "new_id": "c8ad676b8dff7c01017418844895d88979e9d29e",
      "new_mode": 33188,
      "new_path": "mojo/skia/ganesh_framebuffer_surface.cc"
    },
    {
      "type": "modify",
      "old_id": "6925b037203bec0017390b2f3fb91b60d756e87c",
      "old_mode": 33188,
      "old_path": "mojo/skia/ganesh_framebuffer_surface.h",
      "new_id": "99ab14971000f97afd52421fe7610cf6a85b3ff0",
      "new_mode": 33188,
      "new_path": "mojo/skia/ganesh_framebuffer_surface.h"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "5300d99f40ece51cdc93710fa03108093f08a36a",
      "new_mode": 33188,
      "new_path": "mojo/skia/ganesh_image_factory.cc"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "ae4bfc037b1c5c5585ed396ef640b3d22c8049a4",
      "new_mode": 33188,
      "new_path": "mojo/skia/ganesh_image_factory.h"
    },
    {
      "type": "modify",
      "old_id": "2eccb81597e51aece84eab4eb40e8e9cb380cbc4",
      "old_mode": 33188,
      "old_path": "mojo/skia/ganesh_texture_surface.cc",
      "new_id": "f58d3ad1d7072bddbebd2f31a4718b94e3dc49f9",
      "new_mode": 33188,
      "new_path": "mojo/skia/ganesh_texture_surface.cc"
    },
    {
      "type": "modify",
      "old_id": "cd3b05dc74f5458efa910f0cb84e73eb4cb5b872",
      "old_mode": 33188,
      "old_path": "mojo/skia/ganesh_texture_surface.h",
      "new_id": "3cf4c363c0329da48faff2453ddba48f23b48afa",
      "new_mode": 33188,
      "new_path": "mojo/skia/ganesh_texture_surface.h"
    },
    {
      "type": "modify",
      "old_id": "68f849487cc1bd7d4ac0962b2c216bc8df139a3e",
      "old_mode": 33188,
      "old_path": "mojo/skia/gl_bindings_skia.cc",
      "new_id": "4ca10bd3a8dea67b2331deb9dee43829ff395d53",
      "new_mode": 33188,
      "new_path": "mojo/skia/gl_bindings_skia.cc"
    },
    {
      "type": "modify",
      "old_id": "524edc261f5cdf49d1c16b001e5f102b56f0ccce",
      "old_mode": 33188,
      "old_path": "mojo/skia/gl_bindings_skia.h",
      "new_id": "3eba0f9e3ae4b2b4ae48d47aba48fd4f9edbd71e",
      "new_mode": 33188,
      "new_path": "mojo/skia/gl_bindings_skia.h"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "ddc9687e55e7d684001fc0f7e7f515470128de88",
      "new_mode": 33188,
      "new_path": "mojo/skia/type_converters.cc"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "6f18878b68f2c2f4bf2acfae5cff0591754d7faa",
      "new_mode": 33188,
      "new_path": "mojo/skia/type_converters.h"
    }
  ]
}
