mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Uses the utility added in https://github.com/flutter/engine/pull/51361 I counted the removal of 58 static casts. There was one addition made to the original utility however. Vulkan HPP was promoting all enums to its own mask type. This in itself is problematic but we got away with it because there was no one else doing this kind of promotion. Till we added our own utility. To avoid polluting the namespace with methods that may cause ambiguity, enums that are masks must explicitly be marked as maskable with `IMPELLER_ENUM_IS_MASK` in the `impeller` namespace. No change in functionality.
The Impeller Base Library
Contains a number of utilities that should probably go in the base library in the buildroot but whose use is not extensive enough to warrant a move yet.