Skip to content

External Texture Underlying Share Context #35515

Closed
@kaisa695275735

Description

@kaisa695275735

Currently, external textures are very differently on iOS (CoreVideo) and Android (GL_OES_EGL_image_external).
In China, Portrait beauty effects are basically a must-have for a camera tool. We process our video frame on the GPU to generate a texture to be rendered. If flutter needs to display this texture, it requires a GPU->CPU->GPU process, wasting performance.
So we added an interface to Get Flutter GLContext on our Flutter branch. Based on this modification, we implemented the Flutter plugins such as Album, Video Capture, Video Editor.
And those plugins has been used by hundreds of millions of users on the Xianyu APP to verify its effectiveness。
We hope we can merge this change back to the flutter master so that more develop can use our plugins to develop video App。
@chinmaygarde

Metadata

Metadata

Assignees

No one assigned

    Labels

    engineflutter/engine repository. See also e: labels.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions