Use typed enums instead of bools for stuff like `absorb_opacity` and `is_subpass`. See also https://github.com/flutter/engine/pull/45778/files#r1324907519.