You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Skip the duplicate Loading-time theme reference pass #25405
Skip the Loading-time UpdateAllThemeReferences pass for elements whose theme references were all resolved against their live ancestors at Enter.
Why is this needed? 🤔
FrameworkElement.OnLoadingPartial re-runs UpdateAllThemeReferences on every element right after Enter has already done it. WinUI only does it at Enter (depends.cpp:1056-1060). For an element with dozens of theme references, such as the ListViewItemPresenter adopted in #25389 (41 per container), the duplicate pass is about 20% of a GridView's first-frame CPU.
For which platforms 📱💻🖥️
Skia (all heads)
Anything else we need to know? 💬
Split out of #25396, which keeps the allocation side.
Activity