)]}'
{
  "commit": "0c52dee3bc3653a6fefd86409b68f4e10cc4194f",
  "tree": "f372d67dee57994e3d24b11db3104cd0ea5ebc44",
  "parents": [
    "7f24a41c4634c576b61232bd6f4aa21f57577b43"
  ],
  "author": {
    "name": "ahyang",
    "email": "41765610+ahyangnb@users.noreply.github.com",
    "time": "Fri Jul 31 07:18:26 2026 +0800"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Thu Jul 30 23:18:26 2026 +0000"
  },
  "message": "[Impeller] Add filterQuality support to ImageFilter.shader (#188544)\n\nAdds a `filterQuality` argument to `ImageFilter.shader` so the\nimplicitly bound image-filter input sampler can be configured instead of\nalways using nearest-neighbor sampling.\n\nThis threads the requested sampling quality through `dart:ui`,\nDisplayList runtime-effect image filters, and Impeller’s runtime-effect\ntexture input setup. The default remains `FilterQuality.none` to\npreserve existing behavior.\n\nThis also adds regression coverage with a fractional-texel shader to\nverify that `BackdropFilter` + `ImageFilter.shader` honors\n`FilterQuality`, plus equality coverage for shader image filters that\ndiffer only by input sampling.\n\nFixes https://github.com/flutter/flutter/issues/188365\n\nNo changes were required in the `flutter/tests` repo.\n\n## Pre-launch Checklist\n\n- [x] I read the [Contributor Guide] and followed the process outlined\nthere for submitting PRs.\n- [x] I read the [AI contribution guidelines] and understand my\nresponsibilities, or I am not using AI tools.\n- [x] I read the [Tree Hygiene] wiki page, which explains my\nresponsibilities.\n- [x] I read and followed the [Flutter Style Guide], including [Features\nwe expect every widget to implement].\n- [x] I signed the [CLA].\n- [x] I listed at least one issue that this PR fixes in the description\nabove.\n- [x] I updated/added relevant documentation (doc comments with `///`).\n- [x] I added new tests to check the change I am making, or this PR is\n[test-exempt].\n- [x] I followed the [breaking change policy] and added [Data Driven\nFixes] where supported.\n- [x] All existing and new tests are passing.\n\nIf you need help, consider asking for advice on the #hackers-new channel\non [Discord].\n\nIf this change needs to override an active code freeze, provide a\ncomment explaining why. The code freeze workflow can be overridden by\ncode reviewers. See pinned issues for any active code freezes with\nguidance.\n\n**Note**: The Flutter team is currently trialing the use of [Gemini Code\nAssist for\nGitHub](https://developers.google.com/gemini-code-assist/docs/review-github-code).\nComments from the `gemini-code-assist` bot should not be taken as\nauthoritative feedback from the Flutter team. If you find its comments\nuseful you can update your code accordingly, but if you are unsure or\ndisagree with the feedback, please feel free to wait for a Flutter team\nmember\u0027s review for guidance on which automated comments should be\naddressed.\n\n\u003c!-- Links --\u003e\n[Contributor Guide]:\nhttps://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#overview\n[AI contribution guidelines]:\nhttps://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#ai-contribution-guidelines\n[Tree Hygiene]:\nhttps://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md\n[test-exempt]:\nhttps://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#tests\n[Flutter Style Guide]:\nhttps://github.com/flutter/flutter/blob/main/docs/contributing/Style-guide-for-Flutter-repo.md\n[Features we expect every widget to implement]:\nhttps://github.com/flutter/flutter/blob/main/docs/contributing/Style-guide-for-Flutter-repo.md#features-we-expect-every-widget-to-implement\n[CLA]: https://cla.developers.google.com/\n[flutter/tests]: https://github.com/flutter/tests\n[breaking change policy]:\nhttps://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#handling-breaking-changes\n[Discord]:\nhttps://github.com/flutter/flutter/blob/main/docs/contributing/Chat.md\n[Data Driven Fixes]:\nhttps://github.com/flutter/flutter/blob/main/docs/contributing/Data-driven-Fixes.md\n\n---------\n\nCo-authored-by: b-luk \u003c97480502+b-luk@users.noreply.github.com\u003e",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "752baf6ae4e665374539144be96a858ab9865b9f",
      "old_mode": 33188,
      "old_path": "engine/src/flutter/display_list/effects/dl_image_filter.cc",
      "new_id": "1a66b7664f99913243e8140cfdc63af970a4eb50",
      "new_mode": 33188,
      "new_path": "engine/src/flutter/display_list/effects/dl_image_filter.cc"
    },
    {
      "type": "modify",
      "old_id": "911fe627782472464351ac1aea35a7695663953b",
      "old_mode": 33188,
      "old_path": "engine/src/flutter/display_list/effects/dl_image_filter.h",
      "new_id": "8104c54de85c1b0b579e59ad1b42983e69a1e4d0",
      "new_mode": 33188,
      "new_path": "engine/src/flutter/display_list/effects/dl_image_filter.h"
    },
    {
      "type": "modify",
      "old_id": "aedbed332bb37ec3cc2b59421ea5c262a1024fc0",
      "old_mode": 33188,
      "old_path": "engine/src/flutter/display_list/effects/dl_image_filter_unittests.cc",
      "new_id": "de5c1daa052b7d13adc3c18d10a6d06e69b41717",
      "new_mode": 33188,
      "new_path": "engine/src/flutter/display_list/effects/dl_image_filter_unittests.cc"
    },
    {
      "type": "modify",
      "old_id": "9c6c285532d6112cade9275a6adb5dfd1c61e90e",
      "old_mode": 33188,
      "old_path": "engine/src/flutter/display_list/effects/image_filters/dl_runtime_effect_image_filter.cc",
      "new_id": "d2c52f10ce4d9dcddc60e1cfc7dca528ad2d0106",
      "new_mode": 33188,
      "new_path": "engine/src/flutter/display_list/effects/image_filters/dl_runtime_effect_image_filter.cc"
    },
    {
      "type": "modify",
      "old_id": "391cfd9f475f9200dc50f2e8e74d8b10d1be5d06",
      "old_mode": 33188,
      "old_path": "engine/src/flutter/display_list/effects/image_filters/dl_runtime_effect_image_filter.h",
      "new_id": "ec72e58430b94e0e310f8978b684b82b6f30531f",
      "new_mode": 33188,
      "new_path": "engine/src/flutter/display_list/effects/image_filters/dl_runtime_effect_image_filter.h"
    },
    {
      "type": "modify",
      "old_id": "e87964a9d5b37ac61cc015b6aec7cba53d428466",
      "old_mode": 33188,
      "old_path": "engine/src/flutter/impeller/display_list/image_filter.cc",
      "new_id": "06981f432b57540a8c2ecd8e71c84a57f1beca60",
      "new_mode": 33188,
      "new_path": "engine/src/flutter/impeller/display_list/image_filter.cc"
    },
    {
      "type": "modify",
      "old_id": "8b37a74565d2779ddab0a4fb46f93568cd4ac788",
      "old_mode": 33188,
      "old_path": "engine/src/flutter/lib/ui/fixtures/shaders/general_shaders/BUILD.gn",
      "new_id": "8b20c28fc2b0ea22ff577936f1c81abb7a563b44",
      "new_mode": 33188,
      "new_path": "engine/src/flutter/lib/ui/fixtures/shaders/general_shaders/BUILD.gn"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "30a158d8c72ec0404b985a0858c314498e6bcdcb",
      "new_mode": 33188,
      "new_path": "engine/src/flutter/lib/ui/fixtures/shaders/general_shaders/filter_shader_fractional_texel.frag"
    },
    {
      "type": "modify",
      "old_id": "1268cba684c017241364e0ef222035399b22ca3e",
      "old_mode": 33188,
      "old_path": "engine/src/flutter/lib/ui/painting.dart",
      "new_id": "e1cada240c76131182eaf62f9755a5e5c4b365a1",
      "new_mode": 33188,
      "new_path": "engine/src/flutter/lib/ui/painting.dart"
    },
    {
      "type": "modify",
      "old_id": "74f4a33c66ae8de126084c7837257bf7e488ff08",
      "old_mode": 33188,
      "old_path": "engine/src/flutter/lib/ui/painting/fragment_program.cc",
      "new_id": "a9b8c454f4d64e2526750e1ff46ebcee91616596",
      "new_mode": 33188,
      "new_path": "engine/src/flutter/lib/ui/painting/fragment_program.cc"
    },
    {
      "type": "modify",
      "old_id": "65eb460658c517a9dbd84c5e168e0b087d9eefce",
      "old_mode": 33188,
      "old_path": "engine/src/flutter/lib/ui/painting/fragment_program.h",
      "new_id": "def8c4787f802ced19c70cce2dae26ee2fd5f6a6",
      "new_mode": 33188,
      "new_path": "engine/src/flutter/lib/ui/painting/fragment_program.h"
    },
    {
      "type": "modify",
      "old_id": "7ce2f25a88c9e3fb92afc57763c07de2dbf38c9f",
      "old_mode": 33188,
      "old_path": "engine/src/flutter/lib/ui/painting/fragment_shader.cc",
      "new_id": "bf308846c63fdb2a0802b164ff9b87df2e5910fe",
      "new_mode": 33188,
      "new_path": "engine/src/flutter/lib/ui/painting/fragment_shader.cc"
    },
    {
      "type": "modify",
      "old_id": "2246dc5093e8cbb13e48450a8d82e4584481f41d",
      "old_mode": 33188,
      "old_path": "engine/src/flutter/lib/ui/painting/fragment_shader.h",
      "new_id": "60efb487f8b8cd2b35d724eff84a1d3dec7ab761",
      "new_mode": 33188,
      "new_path": "engine/src/flutter/lib/ui/painting/fragment_shader.h"
    },
    {
      "type": "modify",
      "old_id": "41366bbe38c09cef524015fff1c79e0b0f0ae35c",
      "old_mode": 33188,
      "old_path": "engine/src/flutter/lib/ui/painting/image_filter.cc",
      "new_id": "3fb577980e1f517112e9c6f8e57eb74459b4bd2c",
      "new_mode": 33188,
      "new_path": "engine/src/flutter/lib/ui/painting/image_filter.cc"
    },
    {
      "type": "modify",
      "old_id": "18a71c02e7bc1420eddb2da9f6e3f7e91e5b0df9",
      "old_mode": 33188,
      "old_path": "engine/src/flutter/lib/ui/painting/image_filter.h",
      "new_id": "47449193119f2d215699f2d52ef214885fe3fc5e",
      "new_mode": 33188,
      "new_path": "engine/src/flutter/lib/ui/painting/image_filter.h"
    },
    {
      "type": "modify",
      "old_id": "73f133e97fa750c2be745fde60962a358cd709d2",
      "old_mode": 33188,
      "old_path": "engine/src/flutter/lib/web_ui/lib/painting.dart",
      "new_id": "94ddea19142fe97aca66ea18ff0a85d9715f6def",
      "new_mode": 33188,
      "new_path": "engine/src/flutter/lib/web_ui/lib/painting.dart"
    },
    {
      "type": "modify",
      "old_id": "e130b65ac7d31a5ab81fad9cceffef2265d2a7a5",
      "old_mode": 33188,
      "old_path": "engine/src/flutter/testing/dart/fragment_shader_test.dart",
      "new_id": "79edd1b85e5553b4ca3ad5c65f3c3632f539fa06",
      "new_mode": 33188,
      "new_path": "engine/src/flutter/testing/dart/fragment_shader_test.dart"
    },
    {
      "type": "modify",
      "old_id": "dc83c2b1db12a4cdb1e0cea6a5decff9bce76905",
      "old_mode": 33188,
      "old_path": "engine/src/flutter/testing/dart/painting_test.dart",
      "new_id": "d8a6b2b87c800d792fec2536ba13a2c1e4ca65c5",
      "new_mode": 33188,
      "new_path": "engine/src/flutter/testing/dart/painting_test.dart"
    }
  ]
}
