Home
last modified time | relevance | path

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

/third_party/mesa3d/src/loader/
Dloader_dri_helper.c35 uint32_t dri_format, uint32_t dri_usage, in loader_dri_create_image() argument
62 dri_format, modifiers, in loader_dri_create_image()
67 dri_format, modifiers, in loader_dri_create_image()
72 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/mesa/drivers/dri/i965/
Dbrw_screen.c359 const struct brw_image_format *fmt, int dri_format, in modifier_is_supported() argument
385 assert(dri_format == 0); in modifier_is_supported()
386 dri_format = fmt->planes[0].dri_format; in modifier_is_supported()
389 mesa_format format = driImageFormatToGLFormat(dri_format); in modifier_is_supported()
456 if (brw_image_formats[i].planes[0].dri_format == image->dri_format) { in brw_image_get_fourcc()
465 brw_allocate_image(struct brw_screen *screen, int dri_format, in brw_allocate_image() argument
475 image->dri_format = dri_format; in brw_allocate_image()
478 image->format = driImageFormatToGLFormat(dri_format); in brw_allocate_image()
479 if (dri_format != __DRI_IMAGE_FORMAT_NONE && in brw_allocate_image()
586 image->dri_format = driGLFormatToImageFormat(image->format); in brw_create_image_from_renderbuffer()
[all …]
Dbrw_image.h62 uint32_t dri_format; member
73 uint32_t dri_format; member
Dbrw_mipmap_tree.c675 const uint32_t dri_format = f->planes[i].dri_format; in miptree_create_for_planar_image() local
676 const mesa_format format = driImageFormatToGLFormat(dri_format); in miptree_create_for_planar_image()
795 assert(image->planar_format->planes[0].dri_format == image->dri_format); in brw_miptree_create_for_dri_image()
/third_party/mesa3d/src/mesa/drivers/dri/i915/
Dintel_screen.c257 intel_allocate_image(int dri_format, void *loaderPrivate) in intel_allocate_image() argument
265 image->dri_format = dri_format; in intel_allocate_image()
268 image->format = driImageFormatToGLFormat(dri_format); in intel_allocate_image()
269 if (dri_format != __DRI_IMAGE_FORMAT_NONE && in intel_allocate_image()
375 image->dri_format = driGLFormatToImageFormat(image->format); in intel_create_image_from_renderbuffer()
429 image->dri_format = driGLFormatToImageFormat(image->format); in intel_create_image_from_texture()
430 if (image->dri_format == __DRI_IMAGE_FORMAT_NONE) { in intel_create_image_from_texture()
498 *value = image->dri_format; in intel_query_image()
538 image->dri_format = orig_image->dri_format; in intel_dup_image()
656 int width, height, offset, stride, dri_format, index; in intel_from_planar() local
[all …]
Dintel_regions.h122 uint32_t dri_format; member
130 uint32_t dri_format; member
/third_party/mesa3d/src/gallium/frontends/dri/
Ddri_helpers.h32 int dri_format; /* image format */ member
40 uint32_t dri_format; /* plane format */ member
Ddri_helpers.c315 img->dri_format = driGLFormatToImageFormat(rb->Format); in dri2_create_image_from_renderbuffer2()
325 if (dri2_get_mapping_by_format(img->dri_format)) in dri2_create_image_from_renderbuffer2()
413 img->dri_format = driGLFormatToImageFormat(obj->Image[face][level]->TexFormat); in dri2_create_from_texture()
424 if (dri2_get_mapping_by_format(img->dri_format)) in dri2_create_from_texture()
643 if (dri2_format_table[i].dri_format == format) in dri2_get_mapping_by_format()
654 if (dri2_format_table[i].dri_format == format) in dri2_get_pipe_format_for_dri_format()
669 dri2_get_pipe_format_for_dri_format(map->planes[i].dri_format), in dri2_yuv_dma_buf_supported()
Ddri2.c900 templ.format = dri2_get_pipe_format_for_dri_format(map->planes[i].dri_format); in dri2_create_image_from_winsys()
966 img->dri_format = map->dri_format; in dri2_create_image_from_name()
1053 img->dri_format = map->dri_format; in dri2_create_image_from_fd()
1136 img->dri_format = format; in dri2_create_image_common()
1184 *value = image->dri_format; in dri2_query_image_common()
1203 map = dri2_get_mapping_by_format(image->dri_format); in dri2_query_image_common()
1402 img->dri_format = image->dri_format; in dri2_dup_image()
1470 img->dri_format = map->pipe_format; in dri2_from_names()
1738 if (plane >= dri2_get_mapping_by_format(image->dri_format)->nplanes) in dri2_map_image()
Ddri_screen.h113 uint32_t dri_format; member
Ddri_screen.c457 mesa_format mesa_format = driImageFormatToGLFormat(map->dri_format); in dri_get_egl_image()
/third_party/mesa3d/src/gbm/backends/dri/
Dgbm_dri.c618 gbm_dri_to_gbm_format(int dri_format) in gbm_dri_to_gbm_format() argument
621 if (gbm_dri_visuals_table[i].dri_image_format == dri_format) in gbm_dri_to_gbm_format()
997 int dri_format; in gbm_dri_bo_import() local
1005 dri->image->queryImage(image, __DRI_IMAGE_ATTRIB_FORMAT, &dri_format); in gbm_dri_bo_import()
1006 gbm_format = gbm_dri_to_gbm_format(dri_format); in gbm_dri_bo_import()
1185 int dri_format; in gbm_dri_bo_create() local
1202 dri_format = gbm_format_to_dri_format(format); in gbm_dri_bo_create()
1203 if (dri_format == 0) { in gbm_dri_bo_create()
1227 dri_format, dri_use, modifiers, count, in gbm_dri_bo_create()
/third_party/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_screen.h160 uint32_t dri_format; member
Dradeon_screen.c318 image->dri_format = format; in radeon_create_image()
/third_party/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_screen.h160 uint32_t dri_format; member
Dradeon_screen.c318 image->dri_format = format; in radeon_create_image()
/third_party/mesa3d/src/egl/drivers/dri2/
Dplatform_wayland.c911 int dri_format; in get_fourcc() local
920 &dri_format); in get_fourcc()
924 visual_idx = dri2_wl_visual_idx_from_dri_image_format(dri_format); in get_fourcc()