mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
* Take SUPPORT_FRACTIONAL_TRANSLATION into account when diffing layers * Store cull_rect in device coordinates This removes the need to update cull rect coordinates when overriding transform and is also consistent with how Layer::needs_painting() works. * Use original transform for culling, but overriden transform to get paint coordinates. This is to replicate the paint process during diffing, where layers are culled first and only then after paint the matrix is overriden. * Rewrite AddLayerBounds based on @flar's suggestions
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.