Function
CoglDmaBufHandlenew
Declaration [src]
CoglDmaBufHandle*
cogl_dma_buf_handle_new (
CoglFramebuffer* framebuffer,
int dmabuf_fd,
int width,
int height,
int stride,
int offset,
int bpp,
gpointer user_data,
GDestroyNotify destroy_func
)
Parameters
framebuffer-
Type:
CoglFramebufferNo description available.
The data is owned by the caller of the function. dmabuf_fd-
Type:
intNo description available.
width-
Type:
intNo description available.
height-
Type:
intNo description available.
stride-
Type:
intNo description available.
offset-
Type:
intNo description available.
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. |