[cupertino] improve cupertino picker performance by using at most one opacity layer (#124719)
Fixes https://github.com/flutter/flutter/issues/124703 Rather than applying an opacity layer per picker item, apply them to all partially opaque picker items at once. This dramatically improves performance for impeller, by reducing the number of required subpasses and texture allocations signficantly. Before: Doesn't finish, 100s of passes After:   See also: https://github.com/flutter/flutter/issues/124658
Showing
Please register or sign in to comment