Home
last modified time | relevance | path

Searched refs:dri_format (Results 1 – 9 of 9) sorted by relevance

/third_party/mesa3d/src/loader/
Dloader_dri_helper.c36 uint32_t dri_format, uint32_t dri_usage, in loader_dri_create_image() argument
63 dri_format, modifiers, in loader_dri_create_image()
68 dri_format, modifiers, in loader_dri_create_image()
73 return image->createImage(screen, width, height, dri_format, dri_usage, in loader_dri_create_image()
Dloader_dri_helper.h30 uint32_t dri_format, uint32_t dri_usage,
/third_party/mesa3d/src/gallium/frontends/dri/
Ddri_helpers.c314 img->dri_format = driGLFormatToImageFormat(rb->Format); in dri2_create_image_from_renderbuffer2()
326 if (dri2_get_mapping_by_format(img->dri_format)) in dri2_create_image_from_renderbuffer2()
419 img->dri_format = driGLFormatToImageFormat(obj->Image[face][level]->TexFormat); in dri2_create_from_texture()
431 if (dri2_get_mapping_by_format(img->dri_format)) in dri2_create_from_texture()
653 if (dri2_format_table[i].dri_format == format) in dri2_get_mapping_by_format()
664 if (dri2_format_table[i].dri_format == format) in dri2_get_pipe_format_for_dri_format()
679 dri2_get_pipe_format_for_dri_format(map->planes[i].dri_format), in dri2_yuv_dma_buf_supported()
Ddri_helpers.h32 int dri_format; /* image format */ member
40 uint32_t dri_format; /* plane format */ member
Ddri2.c942 templ.format = dri2_get_pipe_format_for_dri_format(map->planes[i].dri_format); in dri2_create_image_from_winsys()
1009 img->dri_format = map->dri_format; in dri2_create_image_from_name()
1096 img->dri_format = map->dri_format; in dri2_create_image_from_fd()
1181 img->dri_format = format; in dri2_create_image_common()
1230 *value = image->dri_format; in dri2_query_image_common()
1249 map = dri2_get_mapping_by_format(image->dri_format); in dri2_query_image_common()
1448 img->dri_format = image->dri_format; in dri2_dup_image()
1519 img->dri_format = map->pipe_format; in dri2_from_names()
1805 if (plane >= dri2_get_mapping_by_format(image->dri_format)->nplanes) in dri2_map_image()
Ddri_screen.h117 uint32_t dri_format; member
Ddri_screen.c746 mesa_format mesa_format = driImageFormatToGLFormat(map->dri_format); in dri_get_egl_image()
/third_party/mesa3d/src/gbm/backends/dri/
Dgbm_dri.c649 gbm_dri_to_gbm_format(int dri_format) in gbm_dri_to_gbm_format() argument
652 if (gbm_dri_visuals_table[i].dri_image_format == dri_format) in gbm_dri_to_gbm_format()
1028 int dri_format; in gbm_dri_bo_import() local
1036 dri->image->queryImage(image, __DRI_IMAGE_ATTRIB_FORMAT, &dri_format); in gbm_dri_bo_import()
1037 gbm_format = gbm_dri_to_gbm_format(dri_format); in gbm_dri_bo_import()
1216 int dri_format; in gbm_dri_bo_create() local
1233 dri_format = gbm_format_to_dri_format(format); in gbm_dri_bo_create()
1234 if (dri_format == 0) { in gbm_dri_bo_create()
1258 dri_format, dri_use, modifiers, count, in gbm_dri_bo_create()
/third_party/mesa3d/src/egl/drivers/dri2/
Dplatform_wayland.c1332 int dri_format; in get_fourcc() local
1341 &dri_format); in get_fourcc()
1345 visual_idx = dri2_wl_visual_idx_from_dri_image_format(dri_format); in get_fourcc()