Home
last modified time | relevance | path

Searched refs:gbm (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/drivers/peripheral/display/buffer/vdi_base/src/
H A Dhi_gbm.cpp116 struct gbm_bo *HdiGbmBoCreate(struct gbm_device *gbm, uint32_t width, uint32_t height, uint32_t for… in HdiGbmBoCreate() argument
131 bo->gbm = gbm; in HdiGbmBoCreate()
138 ret = drmIoctl(gbm->fd, DRM_IOCTL_MODE_CREATE_DUMB, &dumb); in HdiGbmBoCreate()
152 struct gbm_device *gbm = (struct gbm_device *)calloc(1, sizeof(struct gbm_device)); in HdiGbmCreateDevice() local
153 DISPLAY_CHK_RETURN((gbm == nullptr), nullptr, DISPLAY_LOGE("memory calloc failed")); in HdiGbmCreateDevice()
154 gbm->fd = fd; in HdiGbmCreateDevice()
155 return gbm; in HdiGbmCreateDevice()
158 void HdiGbmDeviceDestroy(struct gbm_device *gbm) in HdiGbmDeviceDestroy() argument
160 free(gbm); in HdiGbmDeviceDestroy()
193 ret = drmIoctl(bo->gbm->fd, DRM_IOCTL_MODE_DESTROY_DUMB, &dumb); in HdiGbmBoDestroy()
[all …]
/ohos5.0/drivers/peripheral/display/buffer/vdi_base/include/
H A Dhi_gbm.h88 void HdiGbmDeviceDestroy(struct gbm_device *gbm);
89 struct gbm_bo *HdiGbmBoCreate(struct gbm_device *gbm, uint32_t width, uint32_t height,
H A Dhi_gbm_internal.h34 struct gbm_device *gbm; member