[][src]Function khronos_egl::create_platform_pixmap_surface

pub fn create_platform_pixmap_surface(
    display: Display,
    config: Config,
    native_pixmap: *mut c_void,
    attrib_list: &[Attrib]
) -> Result<Surface, Error>

Create a new EGL offscreen surface.

Note that the constant ATTRIB_NONE which has the type Attrib can be used instead of NONE to terminate the attribute list.

This will return a BadParameter error if attrib_list is not a valid attributes list (if it does not terminate with ATTRIB_NONE).