mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
The MockCanvas API was originally used to test the output of rendering methods to match them against a reference set of "MockData" structures. This API has been superseded by just using a DisplayListBuilder to record reference operations and then to compare the resulting DisplayList objects. This PR deletes the last remaining uses of MockCanvas as well as the mechanism itself.
Flow
Flow is a simple compositor based on Skia that the Flutter engine uses to cache recorded paint commands and pixels generated from those recordings. Flow runs on the raster thread and uploads information to Skia.