Expand description
GL framebuffer import via Vulkan external memory (Linux/Android).
Imports a GL framebuffer into a wgpu::Texture by:
- Creating a Vulkan image with external memory (opaque FD)
- Importing the FD into GL via
GL_EXT_memory_object_fd - Blitting from the source FBO to the shared GL texture
- Wrapping the Vulkan image as a
wgpu::Texture
Functionsยง
- import_
gl_ framebuffer_ vulkan - Import a GL framebuffer into a
wgpu::Texturevia Vulkan external memory.