[][src]Function khronos_egl::create_pbuffer_from_client_buffer

pub fn create_pbuffer_from_client_buffer(
    display: Display,
    buffer_type: Enum,
    buffer: ClientBuffer,
    config: Config,
    attrib_list: &[Int]
) -> Result<Surface, Error>

Create a new EGL pixel buffer surface bound to an OpenVG image.

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