mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
If we have a layer with a picture where the cull rect computes down to an empty rectangle attempting to rasterize it into a ganesh surface will fail in the same manner that trying to ganesh rasterize an empty layer will. This teaches LayerHost to check for this case and handle it like an empty layer. Fixes #1337