Skip to content

Importing external texture into web rendering through shared texture #46779

Description

@reitowo

Preflight Checklist

Problem Description

Reverse of Offscreen Rendering, I want to import a external texture into web rendering systems (WebGPU, WebGL) without CPU - GPU copying.

Proposed Solution

Find a way to import a external texture handle into a web texture container. Avoid patches.

Activity

  1. reitowo commented on Apr 25, 2025

    @reitowo
    MemberAuthor

    I'll try implement this myself.

    media::VideoFrame seems promising, as it is also used in OSR. It is wrapped by blink::VideoFrame and blink::V8VideoFrame

  2. reitowo commented on Apr 26, 2025

    @reitowo
    MemberAuthor

    Let's track at the draft PR.

  3. RenaudRohlinger commented on Apr 28, 2025

    @RenaudRohlinger

    Awesome to see this happening! Thank you for all the amazing contributions @reitowo.🙏

    Related: webgpu-native/webgpu-headers#192

  4. reitowo commented on May 8, 2025

    @reitowo
    MemberAuthor

    This feature has finished implementing, go #46811 to test it out!

  5. benoitlahoz commented on May 8, 2025

    @benoitlahoz

    Thanks so much @reitowo !

  6. mike07026 commented on Jul 24, 2025

    @mike07026

    Awesome! Looking forward to it!
    Thank you very much @reitowo ~

  7. hlevring commented on May 21, 2026

    @hlevring

    Very cool work !!!!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions