-
-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Translucent elements without performance impact #45452
Comments
I think this is a great idea. The PoC also looks very promising. Some thoughts:
You don't want to use this approach on mac? Is there any difference with the blur filter? |
This would mean downloading two background, right? |
Yes
But apps may use it in any place (e.g. call view in Talk), and we have a kind of background already on the elements with the blur filter. |
Isn't the goal to remove that blur background? |
As I understand, the goal is to remove creating this blur background using CSS filter on the fly, because it has bad performance on machines without GPU acceleration. The @marcoambrosini's proposal is to generate this blurred image once on the server instead of CSS filter. |
Due to This issue we added some conditional logic and avoid using elements with a translucent background in chrome (apart from MacOS).
I would like to suggest an alternative approach:
This can be done with php-gd
This creates the same effect without any extra (continuous) computation demand on the clients
The text was updated successfully, but these errors were encountered: