magma

Function magma_virt_connection_create_image

Source
pub unsafe extern "C" fn magma_virt_connection_create_image(
    connection: magma_connection_t,
    create_info: *mut magma_image_create_info_t,
    size_out: *mut u64,
    image_out: *mut magma_buffer_t,
    buffer_id_out: *mut magma_buffer_id_t,
) -> magma_status_t
Expand description

\brief Creates an image buffer backed by a buffer collection given a DRM format and optional modifier, as specified in the create info. \param connection An open connection. \param create_info Input parameters describing the image. \param size_out The size of the image buffer in bytes \param image_out The image buffer. \param buffer_id_out The ID of the image buffer.