Support for `addTexture` or some kind of dynamic/mutable texture support on web
Open
c: proposal
engine
P2
platform-web
team-web
triaged-web
- Dominant language
- Dart
- Stars
- 179k
- Forks
- 31.1k
- PR merge metrics
- PR metrics pending
Description
As discussed in https://github.com/flutter/engine/pull/37890
Now that we have the `createImageFromImageBitmap` API in `dart:ui_web`, users can create images from arbitrary browser image sources. However, creating a completely new image (and therefor WebGL texture) every time can be inefficient in some cases, and it would be preferable to be able to update the contents of an existing texture. We could expose this either through the `addTexture` API or through some other mechanism.
Contributor guide
Assessment
This issue has not been assessed yet.