)]}'
{
  "commit": "8c643ac79be63aba114fd7682297858354c198b9",
  "tree": "d88092a27ddca4f4905c301d4e91c63dc97f883d",
  "parents": [
    "f89945b6cdf14caccf607b6ee6197402945c0d90"
  ],
  "author": {
    "name": "Jonas Larsson",
    "email": "ljonas@google.com",
    "time": "Fri Jul 17 10:33:10 2020 -0700"
  },
  "committer": {
    "name": "Jonas Larsson",
    "email": "ljonas@google.com",
    "time": "Fri Jul 17 10:41:28 2020 -0700"
  },
  "message": "gldownloadelement: fix export of BGR/BGRA textures\n\nGStreamer always stores data in RGBA textures, then uses shaders to\nswizzle and convert between formats. When we get a texture GStreamer\nsays is BGR, it\u0027s really an RGB texture as far as the driver is\nconcerned. If we ask the driver to export it as BGR, driver will\nsee that source is RGB (according to its internal bookkeeping) and\ndestination is BGR, so it swizzles B and R. When GStreamer gets the\noutput intended to be BGR, it\u0027s therefore really RGB because it\nwas swizzled when texture was generated, and then again on export.\n\nSolution is simple; always export the data as RGB/A to get the bytes\nexactly as GStreamer stored them in the texture, as they\u0027re already in\nthe correct format.\n\nBug: 161191133\nChange-Id: Ia63a5c585d4e70baef481929f0a71f96d0a80701\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "053da307617a19e32b91f154afbb9ee082050dd2",
      "old_mode": 33188,
      "old_path": "ext/gl/gstgldownloadelement.c",
      "new_id": "b98c6cb9785419bcd64d2198131369f60b8fe5c7",
      "new_mode": 33188,
      "new_path": "ext/gl/gstgldownloadelement.c"
    }
  ]
}
