-
-
Notifications
You must be signed in to change notification settings - Fork 331
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: Smooth blurring with no popping #161
Comments
How do you imagine this can be fixed? You have a bitmap with View snapshot, let's say 100x100, pure white. Next frame, the top 1-2 rows of pixels become red. The effect is then exaggerated because of the need to downscale the original bitmap to produce the blur in a reasonable amount of time. |
Hmm I thought about two ways but they both seem like a pain
Both don't really seem like easy fixes tho, since you're using a built-in algorithm to do the blurring. |
Yes, it's a fundamental problem of this kind of approach
While it might seem like a remedy for this particular case, it will produce weird/incorrect results in general. To really fix this the BlurView needs to stop downscaling the view hierarchy to speed up the blur, but with all the limitations Android imposes, that's just not realistic for weaker devices. Thanks for the suggestions though! |
This is somewhat addressed for API >= 31 in version 2.0.0 with the new |
Let's say you have a blue background with a red rectangle moving. Once the red rectangle reaches the blue view then moves 1 pixel underneath it BAM the whole area is now has a red tint. High contrast elements will flash in and out as the user scrolls which become noticeable.
https://gfycat.com/fatalgroundedjanenschia
The text was updated successfully, but these errors were encountered: