mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
The root bug (b/300627634) was that we were holding onto HardwareBuffers after the owning Image was closed. This CL refactors the C++ code to properly hold a reference to the Image until it is safe to dispose of. This CL also refactors the Impeller GL and Skia GL code paths to share more code.