mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
The bitmap used to hold a prerolled image in the raster cache must have an integer width/height in pixels. However, the picture used to draw the image may have a non-integer width/height in physical coordinates and thus not completely fill the bitmap. The compositor should only select the subset of the bitmap that reflects the portion filled by the rendered picture.
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.