mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Previously the engine was creating multiple `ShapeNode`s all underneath the same root `EntityNode` at local space z=0. This caused frequent z-fighting within Flutter layers. This patch updates the engine to only create one ShapeNode per EntityNode, which fixes the z-fighting independent of layer elevation. Z-fighting is still possible from actually setting multiple layers to the same z in world space using Flutter elevation. flutter/flutter#25226