)]}'
{
  "commit": "033f4910c2cb7b5e6c48daa12816eada02c2e11f",
  "tree": "2648ad7086ff6c62e25b36beaf210d42ede59dbb",
  "parents": [
    "e33070347cd070cb87bfd91733e778e6d5fee6b3"
  ],
  "author": {
    "name": "Lei Zhang",
    "email": "thestig@chromium.org",
    "time": "Fri Aug 02 02:02:02 2024 +0000"
  },
  "committer": {
    "name": "Pdfium LUCI CQ",
    "email": "pdfium-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Fri Aug 02 02:02:02 2024 +0000"
  },
  "message": "Add special FPDFBitmap_FillRect() handling for 24 and 32 BPP bitmaps\n\nIf Skia were to truly use pre-multiplied bitmaps internally, then the\ncurrent FPDFBitmap_FillRect() implementation would take an\nun-premultiplied bitmap, pre-multiply it, let Skia fill it, and\nun-premultiply it. Avoid this extra work by changing\nFPDFBitmap_FillRect() to write to 32 BPP bitmaps directly.\n\nSimilarly, handle filling 24 BPP bitmaps directly in\nFPDFBitmap_FillRect() to avoid a roundtrip conversion to 32 BPP and\nback.\n\nThis also improves the rendering in an embedder test that uses\nFPDFBitmap_FillRect(). There, the current Skia-specific test\nexpectations are for an image that is a drawn a bit too dark.\n\nBug: 42271020\nChange-Id: Id156780f3ea4aa7479dc933b2da5ca192b2e27a1\nReviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/122911\nReviewed-by: Tom Sepez \u003ctsepez@chromium.org\u003e\nCommit-Queue: Lei Zhang \u003cthestig@chromium.org\u003e\nReviewed-by: Tom Sepez \u003ctsepez@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "d7c53da47338477e4a0a48778ebe59033d8b937f",
      "old_mode": 33188,
      "old_path": "fpdfsdk/fpdf_annot_embeddertest.cpp",
      "new_id": "dc4dd1deaf5a9f6627f752783404baa2cc23544b",
      "new_mode": 33188,
      "new_path": "fpdfsdk/fpdf_annot_embeddertest.cpp"
    },
    {
      "type": "modify",
      "old_id": "2c9c79c1489d1750d43cfebd3db5a415bf53ee2d",
      "old_mode": 33188,
      "old_path": "fpdfsdk/fpdf_view.cpp",
      "new_id": "f978330ff251d643570a8b01a2362deb269820a9",
      "new_mode": 33188,
      "new_path": "fpdfsdk/fpdf_view.cpp"
    }
  ]
}
