Function
CoglDmaBufHandlenew
Declaration [src]
CoglDmaBufHandle*
cogl_dma_buf_handle_new (
CoglFramebuffer* framebuffer,
int width,
int height,
uint32_t format,
uint64_t modifier,
int n_planes,
int* fds,
uint32_t* strides,
uint32_t* offsets,
int bpp,
gpointer user_data,
GDestroyNotify destroy_func
)
Parameters
framebuffer-
Type:
CoglFramebufferNo description available.
The data is owned by the caller of the function. width-
Type:
intNo description available.
height-
Type:
intNo description available.
format-
Type:
uint32_tNo description available.
modifier-
Type:
uint64_tNo description available.
n_planes-
Type:
intNo description available.
fds-
Type:
int*No description available.
The data is owned by the caller of the function. strides-
Type:
uint32_t*No description available.
The data is owned by the caller of the function. offsets-
Type:
uint32_t*No description available.
The data is owned by the caller of the function. bpp-
Type:
intNo description available.
user_data-
Type:
gpointerNo description available.
The argument can be NULL.The data is owned by the caller of the function. destroy_func-
Type:
GDestroyNotifyNo description available.
Return value
Type: CoglDmaBufHandle
No description available.
| The data is owned by the called function. |