Gary Qian 838eb3d481
Improve performance of performance overlay by caching. (#6225)
Cache a SkSurface with previously drawn shapes so that we do not need to draw them again in future frames.

On Nexus 5X test device, old render time for just the overlay was 1.3ms-3.0ms and this version improves to 0.9ms-1.3ms running flutter gallery in profile mode.
2018-09-11 16:13:23 -07:00
..
2018-08-07 14:43:19 -07:00

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.