Open
Bug 2008706
Opened 10 months ago
Updated 15 days ago
WebGPU: external textures missing on Android
Categories
(Core :: Graphics: WebGPU, defect)
Core
Graphics: WebGPU
Tracking
()
NEW
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 theAHardwareBuffercontaining 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::Texturefrom 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.
- Which will call in to wgpu_bindings rust code to create a
- Updating the blocklist here
Updated•10 months ago
|
Summary: Implement WebGPU external textures for Android → WebGPU: external textures missing on Android
Updated•1 month ago
|
Blocks: webgpu-android
You need to log in
before you can comment on or make changes to this bug.
Description
•