Skip to main content

copy_shm

Function copy_shm 

Source
fn copy_shm(buffer: &WlBuffer) -> Option<MemoryRenderBuffer>
Expand description

A copy of a shared-memory buffer’s pixels as a render buffer, None for a buffer that is not shared memory or whose format the renderers do not take.