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

Conversation

@bdero
Copy link
Member

@bdero bdero commented Aug 9, 2022

Resolves flutter/flutter#105053.

The issue isn't visible in the regular 2 pass blur, so I added a 1 pass (directional) mode to the playground. However, this also fixes a less common bug in the 2 pass gaussian: Since the alpha mask in the second pass will be inverted, blur inputs with a non-symmetrical alpha mask in the Y direction didn't render correctly prior to this change.

Before:
image

After:
image

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

@jonahwilliams jonahwilliams left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@bdero bdero merged commit 29aea24 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
…es in gaussian blur (flutter#35257)

* Add single pass variation to gaussian blur test

* Account for the backend-dependent space of rendered textures in gaussian blur
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

No open projects
Archived in project

Development

Successfully merging this pull request may close these issues.

[Impeller] Account for Y-flip in OpenGL during advanced blends and effects.

3 participants