[GridNG] Refactor cache of properties for track spans
Previously, we only cached whether a span contained a track with an intrinsic or flexible sizing function. Future changes will require to cache more properties for track spans (i.e. spans with 'auto' min sizing functions or non-fixed max sizing functions), but the implementation was designed to consider only the two fields mentioned above. 1. Introducing `TrackSpanProperties`, an implementation of a bitmask that can be applied to any structure that span a set of tracks from the grid, which caches several properties from such tracks. 2. Refactoring several methods and classes to remove the use of separated boolean fields in favor of the new bitmask. Bug: 1045599 Change-Id: Ib7f029945daa8ae70d34c7762fdcf342c848e7c2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2593231 Commit-Queue: Ethan Jimenez <ethavar@microsoft.com> Reviewed-by:Jacques Newman <janewman@microsoft.com> Reviewed-by:
Ian Kilpatrick <ikilpatrick@chromium.org> Reviewed-by:
Kurt Catti-Schmidt <kschmi@microsoft.com> Cr-Commit-Position: refs/heads/master@{#838516}
Showing
This diff is collapsed.
Please register or sign in to comment