Searched refs:gbm_format (Results 1 – 14 of 14) sorted by relevance
/external/minigbm/ |
D | gbm.c | 124 bo->gbm_format = format; in gbm_bo_new() 200 uint32_t gbm_format; in gbm_bo_import() local 206 gbm_format = fd_data->format; in gbm_bo_import() 216 gbm_format = fd_modifier_data->format; in gbm_bo_import() 246 if (!gbm_device_is_format_supported(gbm, gbm_format, usage)) in gbm_bo_import() 249 bo = gbm_bo_new(gbm, gbm_format); in gbm_bo_import() 293 return bo->gbm_format; in gbm_bo_get_format() 362 static uint32_t gbm_format_canonicalize(uint32_t gbm_format) in gbm_format_canonicalize() argument 364 switch (gbm_format) { in gbm_format_canonicalize() 370 return gbm_format; in gbm_format_canonicalize() [all …]
|
D | gbm_priv.h | 27 uint32_t gbm_format; member
|
D | gbm.h | 474 gbm_format_get_name(uint32_t gbm_format, struct gbm_format_name_desc *desc);
|
/external/mesa3d/src/gbm/main/ |
D | gbm.c | 713 gbm_format_canonicalize(uint32_t gbm_format) in gbm_format_canonicalize() argument 715 switch (gbm_format) { in gbm_format_canonicalize() 721 return gbm_format; in gbm_format_canonicalize() 732 gbm_format_get_name(uint32_t gbm_format, struct gbm_format_name_desc *desc) in gbm_format_get_name() argument 734 gbm_format = gbm_format_canonicalize(gbm_format); in gbm_format_get_name() 736 desc->name[0] = gbm_format; in gbm_format_get_name() 737 desc->name[1] = gbm_format >> 8; in gbm_format_get_name() 738 desc->name[2] = gbm_format >> 16; in gbm_format_get_name() 739 desc->name[3] = gbm_format >> 24; in gbm_format_get_name()
|
D | gbmint.h | 137 gbm_format_canonicalize(uint32_t gbm_format);
|
D | gbm.h | 423 gbm_format_get_name(uint32_t gbm_format, struct gbm_format_name_desc *desc);
|
/external/virglrenderer/src/ |
D | vrend_winsys_gbm.c | 54 uint32_t gbm_format; member 301 int virgl_gbm_convert_format(uint32_t *virgl_format, uint32_t *gbm_format) in virgl_gbm_convert_format() argument 304 if (!virgl_format || !gbm_format) in virgl_gbm_convert_format() 307 if (*virgl_format != 0 && *gbm_format != 0) in virgl_gbm_convert_format() 311 if (conversions[i].gbm_format == *gbm_format || in virgl_gbm_convert_format() 313 *gbm_format = conversions[i].gbm_format; in virgl_gbm_convert_format()
|
D | vrend_winsys_gbm.h | 73 int virgl_gbm_convert_format(uint32_t *virgl_format, uint32_t *gbm_format);
|
D | vrend_winsys_egl.c | 308 uint32_t gbm_format = 0; in virgl_egl_get_fourcc_for_texture() local 333 ret = virgl_gbm_convert_format(&format, &gbm_format); in virgl_egl_get_fourcc_for_texture() 334 *fourcc = (int)gbm_format; in virgl_egl_get_fourcc_for_texture()
|
D | vrend_renderer.c | 775 uint32_t gbm_format = 0; in vrend_format_can_sample() local 776 if (virgl_gbm_convert_format(&format, &gbm_format)) in vrend_format_can_sample() 779 if (!gbm || !gbm->device || !gbm_format) in vrend_format_can_sample() 783 return gbm_device_is_format_supported(gbm->device, gbm_format, gbm_usage); in vrend_format_can_sample() 807 uint32_t gbm_format = 0; in vrend_format_can_scanout() local 808 if (virgl_gbm_convert_format(&format, &gbm_format)) in vrend_format_can_scanout() 811 if (!gbm || !gbm->device || !gbm_format) in vrend_format_can_scanout() 814 return gbm_device_is_format_supported(gbm->device, gbm_format, GBM_BO_USE_SCANOUT); in vrend_format_can_scanout() 6826 uint32_t gbm_format = 0; in vrend_resource_gbm_init() local 6827 if (virgl_gbm_convert_format(&format, &gbm_format)) in vrend_resource_gbm_init() [all …]
|
/external/mesa3d/src/gbm/backends/dri/ |
D | gbm_dri.c | 571 gbm_format_to_dri_format(uint32_t gbm_format) in gbm_format_to_dri_format() argument 573 gbm_format = gbm_format_canonicalize(gbm_format); in gbm_format_to_dri_format() 575 if (gbm_dri_visuals_table[i].gbm_format == gbm_format) in gbm_format_to_dri_format() 587 return gbm_dri_visuals_table[i].gbm_format; in gbm_dri_to_gbm_format() 887 int gbm_format; in gbm_dri_bo_import() local 916 gbm_format = wb->format; in gbm_dri_bo_import() 932 gbm_format = gbm_dri_to_gbm_format(dri_format); in gbm_dri_bo_import() 933 if (gbm_format == 0) { in gbm_dri_bo_import() 963 gbm_format = fd_data->format; in gbm_dri_bo_import() 999 gbm_format = fourcc; in gbm_dri_bo_import() [all …]
|
D | gbm_driint.h | 44 uint32_t gbm_format; member
|
/external/mesa3d/src/egl/drivers/dri2/ |
D | platform_drm.c | 116 if (visual->gbm_format == surface->format) in dri2_drm_config_is_compatible() 644 EGL_NATIVE_VISUAL_ID, visuals[j].gbm_format, in drm_add_configs_for_visuals() 662 gbm_format_get_name(visuals[i].gbm_format, &desc)); in drm_add_configs_for_visuals()
|
/external/crosvm/rutabaga_gfx/src/rutabaga_gralloc/ |
D | minigbm_bindings.rs | 239 pub fn gbm_format_get_name(gbm_format: u32, desc: *mut gbm_format_name_desc) -> *mut c_char; in gbm_format_get_name()
|