Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

[Impeller] Add tile modes to gaussian blur#35249

Merged
auto-submit[bot] merged 1 commit intoflutter:mainfrom
bdero:bdero/blur-tilemode
Aug 9, 2022
Merged

[Impeller] Add tile modes to gaussian blur#35249
auto-submit[bot] merged 1 commit intoflutter:mainfrom
bdero:bdero/blur-tilemode

Conversation

@bdero
Copy link
Contributor

@bdero bdero commented Aug 9, 2022

Resolves flutter/flutter#105072.

Screen.Recording.2022-08-08.at.4.48.38.PM.mov

Currently, this only works for transforms whose basis vectors align with their axis (no rotations/skews) because of how the blur rendering currently works. This will get naturally fixed in a future optimizing refactor I'm planning that will allow filters full control over how/if new textures are created.

@bdero bdero self-assigned this Aug 9, 2022
@bdero
Copy link
Contributor Author

bdero commented Aug 9, 2022

This also fixes the problem where backdrop filters have a dark halo around them (since they use kClamp, but we were always behaving like kDecal prior to this change).

@bdero bdero added the autosubmit Merge PR when tree becomes green via auto submit App label Aug 9, 2022
@auto-submit auto-submit bot merged commit 6c14fb3 into flutter:main Aug 9, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Aug 9, 2022
emilyabest pushed a commit to emilyabest/engine that referenced this pull request Aug 12, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

autosubmit Merge PR when tree becomes green via auto submit App e: impeller

Projects

No open projects
Archived in project

Development

Successfully merging this pull request may close these issues.

[Impeller] Support all tile modes for DlImageFilterType::kBlur

2 participants