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
Flow
Flow is a simple compositor based on Skia that the Flutter engine uses to cache recoded paint commands and pixels generated from those recordings. Flow runs on the GPU thread and uploads information to the GPU.