mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
CVPixelBuffers from the application can have arbitrary pixel formats. However, current implementation doesn't support all pixel formats. To address this, add a comment to the FlutterTexture class to clarify which pixel formats are supported. Also, reject unsupported pixel formats so that the application can handle them properly. Fixes [#147242](https://github.com/flutter/flutter/issues/147242). [C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style