Home
last modified time | relevance | path

Searched refs:gr_handle (Results 1 – 2 of 2) sorted by relevance

/external/drm_hwcomposer/bufferinfo/legacy/
DBufferInfoMinigbm.cpp32 cros_gralloc_handle *gr_handle = (cros_gralloc_handle *)handle; in ConvertBoInfo() local
33 if (!gr_handle) in ConvertBoInfo()
36 bo->width = gr_handle->width; in ConvertBoInfo()
37 bo->height = gr_handle->height; in ConvertBoInfo()
38 bo->hal_format = gr_handle->droid_format; in ConvertBoInfo()
39 bo->format = gr_handle->format; in ConvertBoInfo()
40 bo->usage = gr_handle->usage; in ConvertBoInfo()
41 bo->prime_fds[0] = gr_handle->fds[0]; in ConvertBoInfo()
42 bo->pitches[0] = gr_handle->strides[0]; in ConvertBoInfo()
43 bo->offsets[0] = gr_handle->offsets[0]; in ConvertBoInfo()
DBufferInfoLibdrm.cpp157 gralloc_handle_t *gr_handle = gralloc_handle(handle); in ConvertBoInfo() local
158 if (!gr_handle) in ConvertBoInfo()
161 bo->width = gr_handle->width; in ConvertBoInfo()
162 bo->height = gr_handle->height; in ConvertBoInfo()
163 bo->hal_format = gr_handle->format; in ConvertBoInfo()
173 bo->modifiers[0] = gr_handle->modifier; in ConvertBoInfo()
174 bo->with_modifiers = gr_handle->modifier != DRM_FORMAT_MOD_NONE && in ConvertBoInfo()
175 gr_handle->modifier != DRM_FORMAT_MOD_INVALID; in ConvertBoInfo()
178 bo->usage = gr_handle->usage; in ConvertBoInfo()
179 bo->prime_fds[0] = gr_handle->prime_fd; in ConvertBoInfo()
[all …]