Searched refs:create_dumb (Results 1 – 3 of 3) sorted by relevance
/external/mesa3d/src/gallium/auxiliary/renderonly/ |
D | renderonly.c | 74 struct drm_mode_create_dumb create_dumb = { in renderonly_create_kms_dumb_buffer_for_resource() local 86 err = drmIoctl(ro->kms_fd, DRM_IOCTL_MODE_CREATE_DUMB, &create_dumb); in renderonly_create_kms_dumb_buffer_for_resource() 93 scanout->handle = create_dumb.handle; in renderonly_create_kms_dumb_buffer_for_resource() 94 scanout->stride = create_dumb.pitch; in renderonly_create_kms_dumb_buffer_for_resource() 102 out_handle->stride = create_dumb.pitch; in renderonly_create_kms_dumb_buffer_for_resource() 104 err = drmPrimeHandleToFD(ro->kms_fd, create_dumb.handle, O_CLOEXEC, in renderonly_create_kms_dumb_buffer_for_resource()
|
/external/minigbm/ |
D | helpers.c | 260 struct drm_mode_create_dumb create_dumb; in drv_dumb_bo_create() local 276 memset(&create_dumb, 0, sizeof(create_dumb)); in drv_dumb_bo_create() 277 create_dumb.height = aligned_height; in drv_dumb_bo_create() 278 create_dumb.width = aligned_width; in drv_dumb_bo_create() 279 create_dumb.bpp = layout_from_format(format)->bytes_per_pixel[0] * 8; in drv_dumb_bo_create() 280 create_dumb.flags = 0; in drv_dumb_bo_create() 282 ret = drmIoctl(bo->drv->fd, DRM_IOCTL_MODE_CREATE_DUMB, &create_dumb); in drv_dumb_bo_create() 288 drv_bo_from_format(bo, create_dumb.pitch, height, format); in drv_dumb_bo_create() 291 bo->handles[plane].u32 = create_dumb.handle; in drv_dumb_bo_create() 293 bo->total_size = create_dumb.size; in drv_dumb_bo_create()
|
/external/mesa3d/src/gbm/backends/dri/ |
D | gbm_dri.c | 1051 create_dumb(struct gbm_device *gbm, in create_dumb() function 1128 return create_dumb(gbm, width, height, format, usage); in gbm_dri_bo_create()
|