Method
CoglRenderercreate_dma_buf_framebuffer
Declaration [src]
CoglFramebuffer*
cogl_renderer_create_dma_buf_framebuffer (
CoglRenderer* renderer,
CoglContext* context,
uint32_t width,
uint32_t height,
uint32_t drm_format,
CoglPixelFormat cogl_format,
int n_planes,
const int* fds,
const uint32_t* strides,
const uint32_t* offsets,
const uint64_t* modifiers,
GError** error
)
Parameters
context-
Type:
CoglContextNo description available.
The data is owned by the caller of the method. width-
Type:
uint32_tNo description available.
height-
Type:
uint32_tNo description available.
drm_format-
Type:
uint32_tNo description available.
cogl_format-
Type:
CoglPixelFormatNo description available.
n_planes-
Type:
intNo 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.
Return value
Type: CoglFramebuffer
No description available.
| The returned data is owned by the instance. |