Method
CoglRendererEGLcreate_dmabuf_image
Declaration [src]
EGLImageKHR
cogl_renderer_egl_create_dmabuf_image (
CoglRendererEGL* renderer_egl,
unsigned int width,
unsigned int height,
uint32_t drm_format,
uint32_t n_planes,
const int* fds,
const uint32_t* strides,
const uint32_t* offsets,
const uint64_t* modifiers,
GError** error
)
Parameters
width-
Type:
unsigned intNo description available.
height-
Type:
unsigned intNo description available.
drm_format-
Type:
uint32_tNo description available.
n_planes-
Type:
uint32_tNo description available.
fds-
Type:
const int*No description available.
The data is owned by the caller of the method. strides-
Type:
const uint32_t*No description available.
The data is owned by the caller of the method. offsets-
Type:
const uint32_t*No description available.
The data is owned by the caller of the method. modifiers-
Type:
const uint64_t*No description available.
The data is owned by the caller of the method. error-
Type:
GError **The return location for a recoverable error.
The argument can be NULL.If the return location is not NULL, then you must initialize it to aNULLGError*.The argument will be left initialized to NULLby the method if there are no errors.In case of error, the argument will be set to a newly allocated GError; the caller will take ownership of the data, and be responsible for freeing it.