Open Bug 2008706 Opened 10 months ago Updated 15 days ago

WebGPU: external textures missing on Android

Categories

(Core :: Graphics: WebGPU, defect)

defect

Tracking

()

People

(Reporter: jnicol, Unassigned)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

This will require:

  • a wgpu implementation for external textures on Vulkan/SPV
  • Android video decoding using AImageReader (bug 1649110), allowing us to obtain the AHardwareBuffer containing the video data.
  • Implementing a new function ExternalTextureHostSource::CreateFromAndroidHardwareBufferTextureHost() called from here.
    • Which will call in to wgpu_bindings rust code to create a wgpu::Texture from a HardwareBuffer. Perhaps some of this can be shared with the Linux implementation (bug 2008705) - creating the Vulkan texture from a HardwareBuffer will of course differ from creating one from a DMABuf, but creating the wgpu::Texture from the wgpu_hal::vulkan::Texture could be shared.
  • Updating the blocklist here

Seems S3 level, please update if incorrect.

Severity: -- → S3
Summary: Implement WebGPU external textures for Android → WebGPU: external textures missing on Android
See Also: → 2086850
You need to log in before you can comment on or make changes to this bug.