Skip to main content

Module raw_gl

Module raw_gl 

Source
Expand description

Raw GL-to-wgpu import primitives with no surfman dependency.

These functions accept raw GL handles (FBO IDs, IOSurface pointers, etc.) and produce wgpu::Texture objects. They can be used by any GL producer, not just surfman-based ones.

Modules§

linux
GL framebuffer import via Vulkan external memory (Linux/Android).
producer
A FrameProducer for raw GL applications that don’t use surfman.
texture_normalizer
BGRA-to-RGBA and Y-flip normalization pass for imported textures. GPU-based texture normalization pass.