Skip to main content

shm_code

Function shm_code 

Source
fn shm_code(fourcc: u32) -> u32
Expand description

The wl_shm-style code HostCpuFrame converts by: 0/1 for the ARGB/XRGB words, DRM fourcc for the rest.