)]}'
{
  "commit": "8aa203c1d8ab96e7fcd5ce3393e3202425bb39cb",
  "tree": "911c46d8511ea72c6edfea27bfa7337297ab80ed",
  "parents": [
    "3fad21283d2fb138baed565d215141c5b82677f5"
  ],
  "author": {
    "name": "Kevin Lubick",
    "email": "kjlubick@google.com",
    "time": "Tue Mar 19 13:23:10 2019 -0400"
  },
  "committer": {
    "name": "Skia Commit-Bot",
    "email": "skia-commit-bot@chromium.org",
    "time": "Tue Mar 19 18:19:12 2019 +0000"
  },
  "message": "Add macro to decide GrGLStandard\n\nThis allows us to remove certain interfaces at compile time.\n\nThis replaces most (all?) of the cases where it was\nif (gl) else [implicit gles] to be explicitly\nif (gl) else if (gles)\nin preparation for adding a WebGL standard.\n\nFor consistency, I tried to check first for GL, then for\nGLES, which involved re-arranging a few if blocks.\n\nPS 3 removes about 1.2KB (0.4 KB gzipped) from CanvasKit by\nremoving the GrGLInterface related checks from\nGrGlInterface::validate()\n\nPS 8 removes a total of 6.0 KB (2.6 KB gzipped) from\nGrGlInterface::validate() and GrGlCaps::*\n\nBug: skia:8378\nChange-Id: Ia91b732d888907f5d94b0eac8ca023084999fa7e\nReviewed-on: https://skia-review.googlesource.com/c/skia/+/201604\nReviewed-by: Brian Salomon \u003cbsalomon@google.com\u003e\nCommit-Queue: Kevin Lubick \u003ckjlubick@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "cb8d7972bd7caf0320d32a777ee09a4474202212",
      "old_mode": 33188,
      "old_path": "include/gpu/gl/GrGLTypes.h",
      "new_id": "345f36f242fe2ea0bdc1e2ca8fdea87ed8f07951",
      "new_mode": 33188,
      "new_path": "include/gpu/gl/GrGLTypes.h"
    },
    {
      "type": "modify",
      "old_id": "399badf7f734b7283dd377143079ca7a1c994e0d",
      "old_mode": 33261,
      "old_path": "modules/canvaskit/compile.sh",
      "new_id": "74ec089b238e6e869d03238ca88fa17084dcdf11",
      "new_mode": 33261,
      "new_path": "modules/canvaskit/compile.sh"
    },
    {
      "type": "modify",
      "old_id": "a5f3e4c2b833a599982de446d815446c0ac2bb1d",
      "old_mode": 33188,
      "old_path": "src/gpu/gl/GrGLAssembleInterface.cpp",
      "new_id": "0652d566752d214a2a880864d1e3fea8f4769d40",
      "new_mode": 33188,
      "new_path": "src/gpu/gl/GrGLAssembleInterface.cpp"
    },
    {
      "type": "modify",
      "old_id": "9dd5a9e0793c9211918cbbded8b6d9e5db64b536",
      "old_mode": 33188,
      "old_path": "src/gpu/gl/GrGLAssembleInterface_gl.cpp",
      "new_id": "e4d34631d659b213ddf33f9ecac28d2e6e78d86a",
      "new_mode": 33188,
      "new_path": "src/gpu/gl/GrGLAssembleInterface_gl.cpp"
    },
    {
      "type": "modify",
      "old_id": "fb584cb39b854a0f95e330156ee1fd943462de6a",
      "old_mode": 33188,
      "old_path": "src/gpu/gl/GrGLAssembleInterface_gles.cpp",
      "new_id": "8c9f8b47ea78c6c38beede1c22425b01a021f031",
      "new_mode": 33188,
      "new_path": "src/gpu/gl/GrGLAssembleInterface_gles.cpp"
    },
    {
      "type": "modify",
      "old_id": "bb7742c4e6b48b2ba59bbb75a572080284c29523",
      "old_mode": 33188,
      "old_path": "src/gpu/gl/GrGLCaps.cpp",
      "new_id": "0836601378d1c8c238e11e887824d524c4ba25ac",
      "new_mode": 33188,
      "new_path": "src/gpu/gl/GrGLCaps.cpp"
    },
    {
      "type": "modify",
      "old_id": "a2a5a3b130816b538fe656e12a2127bbf90d0419",
      "old_mode": 33188,
      "old_path": "src/gpu/gl/GrGLContext.cpp",
      "new_id": "1c570e5af1d7af91196a3d303cd469e51542a04e",
      "new_mode": 33188,
      "new_path": "src/gpu/gl/GrGLContext.cpp"
    },
    {
      "type": "modify",
      "old_id": "4050d36be676381bcfe146e18260793cc49d6a10",
      "old_mode": 33188,
      "old_path": "src/gpu/gl/GrGLGLSL.cpp",
      "new_id": "02dcc3fa77b5061e9edf0119408de842e48a4cd1",
      "new_mode": 33188,
      "new_path": "src/gpu/gl/GrGLGLSL.cpp"
    },
    {
      "type": "modify",
      "old_id": "9107fd1cd2a8e1e64810181804a3b20d3f2e57e7",
      "old_mode": 33188,
      "old_path": "src/gpu/gl/GrGLGpu.cpp",
      "new_id": "6613891176019f9eb2e2d26d42069c0702b23da5",
      "new_mode": 33188,
      "new_path": "src/gpu/gl/GrGLGpu.cpp"
    },
    {
      "type": "modify",
      "old_id": "6f5be652865bdaa84e9e68c54419fd8d77334d3e",
      "old_mode": 33188,
      "old_path": "src/gpu/gl/GrGLInterface.cpp",
      "new_id": "a5d8cc5a3b4bd2912a471d966368d0ef063f5e8a",
      "new_mode": 33188,
      "new_path": "src/gpu/gl/GrGLInterface.cpp"
    },
    {
      "type": "modify",
      "old_id": "a031f95345f4d6633ea3a03e599ad23d336fa7c9",
      "old_mode": 33188,
      "old_path": "src/gpu/gl/GrGLUtil.cpp",
      "new_id": "c4eab4cb2250c1ce19537368aaa8df58583566db",
      "new_mode": 33188,
      "new_path": "src/gpu/gl/GrGLUtil.cpp"
    },
    {
      "type": "modify",
      "old_id": "cb69244e3a0cdb6d0b680e43e78bc0aa72e342d8",
      "old_mode": 33188,
      "old_path": "src/gpu/gl/win/GrGLMakeNativeInterface_win.cpp",
      "new_id": "5502bf4cd5e8c99b444b61305b1c988f53e5f0e2",
      "new_mode": 33188,
      "new_path": "src/gpu/gl/win/GrGLMakeNativeInterface_win.cpp"
    }
  ]
}
