As discussed in flutter/engine#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.
As discussed in flutter/engine#37890
Now that we have the
createImageFromImageBitmapAPI indart: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 theaddTextureAPI or through some other mechanism.