)]}'
{
  "commit": "87ced180fe8dc0cf32d3649874d8ac422b620f6f",
  "tree": "b6090d62ca1380fce53591c695805884dba22216",
  "parents": [
    "af1d0917ebe5cbd8a8100337f166ef9d0adba282"
  ],
  "author": {
    "name": "Laurenz Stampfl",
    "email": "47084093+LaurenzV@users.noreply.github.com",
    "time": "Mon Jul 27 15:51:29 2026 +0200"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Mon Jul 27 13:51:29 2026 +0000"
  },
  "message": "vello_common: Improve filter bounds for drop shadows (#1768)\n\nCurrently, the filter bounds of a drop shadow are called additively by\ncombinining the expansion of the blur radius and potentially the shift.\nIf the blur radius is 20, we always expand by 20 in each direction,\nregardless of the position of the drop shadow.\n\nHowever, there is an easy optimization to apply here: In case the offset\nis for example (20, 20) and the blur radius is only 10, there is\nactually no need to expand the top/left side at all, because the\nexpansion of the blur radius is completely absorbed by the shift. The\nfollowing videos demonstrate the behavior before vs. after. As you can\nsee, in the before case we always unconditionally expand to the top-left\nby the blur radius, regardless of where the drops shadow is positioned.\n\nBefore:\n\n\nhttps://github.com/user-attachments/assets/de7787ba-cf69-4ec0-84f0-0d552ef62fbd\n\nAfter:\n\n\nhttps://github.com/user-attachments/assets/46989f54-36ba-4472-bf55-67b8a4d79d8d",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "696c1eadc78bba59c909c8996644c1ffac9678f8",
      "old_mode": 33188,
      "old_path": "sparse_strips/vello_common/src/filter_effects.rs",
      "new_id": "c6064c90062bcbe30c67af51f762a5efe8f114f2",
      "new_mode": 33188,
      "new_path": "sparse_strips/vello_common/src/filter_effects.rs"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "ef3bfef4335cdadbaef6c2e0e02cb6c03dfaf5f3",
      "new_mode": 33188,
      "new_path": "sparse_strips/vello_sparse_tests/snapshots/filter_expansion_grid.png"
    },
    {
      "type": "modify",
      "old_id": "57a77338763b0ecbcbf3110817c975a046679a23",
      "old_mode": 33188,
      "old_path": "sparse_strips/vello_sparse_tests/tests/filter.rs",
      "new_id": "917e1c8bf64d9cc783f6bddde62775bbeee3b261",
      "new_mode": 33188,
      "new_path": "sparse_strips/vello_sparse_tests/tests/filter.rs"
    }
  ]
}
