Skip to content

[Impeller] Flutter GPU: Allow populating DeviceBuffers from Dart. #130925

@bdero

Description

@bdero

Part of http://flutter.dev/go/impeller-dart
Umbrella bug #130921.

Blocked on: #130924

DeviceBuffers are Impeller's shared buffer abstraction and are used for transferring data from the CPU memory to GPU memory. For example, this is how uniform buffers are written and accessed.

Implement dart.gpu.DeviceBuffer.copyByteBuffer(), which allows for populating a DeviceBuffer by supplying a ByteBuffer and a range in Dart. Perform reasonable OOB checks and expose useful errors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work liste: impellerImpeller rendering backend issues and features requeststeam-engineOwned by Engine teamtriaged-engineTriaged by Engine team

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions