add backdrop option to DisplayList::saveLayer#33854
add backdrop option to DisplayList::saveLayer#33854fluttergithubbot merged 1 commit intoflutter:mainfrom
Conversation
|
Just to clarify: Other than drawing the filtered texture of the parent layer, SaveLayer ops with a backdrop filter should be treated exactly the same as non-backdrop calls, right? In other words, the layer won't be drawn until restored -- and when it's drawn, it'll respect all of the paint state such as the opacity, blend mode, and filters. |
I believe so. |
|
Actually, it changes the dimensions of the layer. With no specific clipping it will apply the filter to the entire underlying layer and so the saveLayer layer will be larger to accomodate that. |
|
Alright perfect, makes sense. Thanks! |
Fixes flutter/flutter#105465