Skip to content

The return value of FlutterTexture:copyPixelBuffer should be nullable #16165

@tvolkert

Description

@tvolkert

(from FlutterTexture.h):

@protocol FlutterTexture<NSObject>
- (CVPixelBufferRef)copyPixelBuffer;
@end

CVPixelBufferRef should be set to nullable. It becomes problematic when we use this API in swift where nil value is allowed for CVPixelBufferRef.

Note: the above was transferred from an internal bug.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions