/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | intel_screen.c | 358 const struct intel_image_format *fmt, int dri_format, in modifier_is_supported() argument 379 assert(dri_format == 0); in modifier_is_supported() 380 dri_format = fmt->planes[0].dri_format; in modifier_is_supported() 383 mesa_format format = driImageFormatToGLFormat(dri_format); in modifier_is_supported() 450 if (intel_image_formats[i].planes[0].dri_format == image->dri_format) { in intel_image_get_fourcc() 459 intel_allocate_image(struct intel_screen *screen, int dri_format, in intel_allocate_image() argument 469 image->dri_format = dri_format; in intel_allocate_image() 472 image->format = driImageFormatToGLFormat(dri_format); in intel_allocate_image() 473 if (dri_format != __DRI_IMAGE_FORMAT_NONE && in intel_allocate_image() 578 image->dri_format = driGLFormatToImageFormat(image->format); in intel_create_image_from_renderbuffer() [all …]
|
D | intel_image.h | 62 uint32_t dri_format; member 73 uint32_t dri_format; member
|
D | intel_mipmap_tree.c | 675 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 intel_miptree_create_for_dri_image()
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
D | intel_screen.c | 242 intel_allocate_image(int dri_format, void *loaderPrivate) in intel_allocate_image() argument 250 image->dri_format = dri_format; in intel_allocate_image() 253 image->format = driImageFormatToGLFormat(dri_format); in intel_allocate_image() 254 if (dri_format != __DRI_IMAGE_FORMAT_NONE && in intel_allocate_image() 360 image->dri_format = driGLFormatToImageFormat(image->format); in intel_create_image_from_renderbuffer() 414 image->dri_format = driGLFormatToImageFormat(image->format); in intel_create_image_from_texture() 415 if (image->dri_format == __DRI_IMAGE_FORMAT_NONE) { in intel_create_image_from_texture() 483 *value = image->dri_format; in intel_query_image() 520 image->dri_format = orig_image->dri_format; in intel_dup_image() 638 int width, height, offset, stride, dri_format, index; in intel_from_planar() local [all …]
|
D | intel_regions.h | 122 uint32_t dri_format; member 130 uint32_t dri_format; member
|
/external/mesa3d/src/gallium/frontends/dri/ |
D | dri_helpers.h | 32 int dri_format; /* image format */ member 40 uint32_t dri_format; /* plane format */ member
|
D | dri_helpers.c | 297 img->dri_format = driGLFormatToImageFormat(rb->Format); in dri2_create_image_from_renderbuffer2() 373 img->dri_format = driGLFormatToImageFormat(obj->Image[face][level]->TexFormat); in dri2_create_from_texture() 551 if (dri2_format_table[i].dri_format == format) in dri2_get_mapping_by_format() 562 if (dri2_format_table[i].dri_format == format) in dri2_get_pipe_format_for_dri_format() 577 dri2_get_pipe_format_for_dri_format(map->planes[i].dri_format), in dri2_yuv_dma_buf_supported()
|
D | dri2.c | 821 templ.format = dri2_get_pipe_format_for_dri_format(map->planes[i].dri_format); in dri2_create_image_from_winsys() 886 img->dri_format = map->dri_format; in dri2_create_image_from_name() 988 img->dri_format = map->dri_format; in dri2_create_image_from_fd() 1071 img->dri_format = format; in dri2_create_image_common() 1107 *value = image->dri_format; in dri2_query_image_common() 1126 map = dri2_get_mapping_by_format(image->dri_format); in dri2_query_image_common() 1325 img->dri_format = image->dri_format; in dri2_dup_image() 1391 img->dri_format = map->pipe_format; in dri2_from_names() 1649 if (plane >= dri2_get_mapping_by_format(image->dri_format)->nplanes) in dri2_map_image()
|
D | dri_screen.h | 104 uint32_t dri_format; member
|
D | dri_screen.c | 487 mesa_format mesa_format = driImageFormatToGLFormat(map->dri_format); in dri_get_egl_image()
|
/external/minigbm/ |
D | dri.c | 282 int ret, dri_format; in dri_bo_create() local 285 dri_format = drm_format_to_dri_format(format); in dri_bo_create() 296 bo->priv = dri->image_extension->createImage(dri->device, width, height, dri_format, in dri_bo_create() 317 int ret, dri_format; in dri_bo_create_with_modifiers() local 324 dri_format = drm_format_to_dri_format(format); in dri_bo_create_with_modifiers() 327 dri->device, width, height, dri_format, modifiers, modifier_count, NULL); in dri_bo_create_with_modifiers()
|
/external/mesa3d/src/gbm/backends/dri/ |
D | gbm_dri.c | 583 gbm_dri_to_gbm_format(int dri_format) in gbm_dri_to_gbm_format() argument 586 if (gbm_dri_visuals_table[i].dri_image_format == dri_format) in gbm_dri_to_gbm_format() 923 int dri_format; in gbm_dri_bo_import() local 931 dri->image->queryImage(image, __DRI_IMAGE_ATTRIB_FORMAT, &dri_format); in gbm_dri_bo_import() 932 gbm_format = gbm_dri_to_gbm_format(dri_format); in gbm_dri_bo_import() 1111 int dri_format; in gbm_dri_bo_create() local 1133 dri_format = gbm_format_to_dri_format(format); in gbm_dri_bo_create() 1134 if (dri_format == 0) { in gbm_dri_bo_create() 1174 dri_format, in gbm_dri_bo_create() 1184 dri_format, dri_use, bo); in gbm_dri_bo_create()
|
/external/mesa3d/src/mesa/drivers/dri/r200/ |
D | radeon_screen.h | 160 uint32_t dri_format; member
|
D | radeon_screen.c | 318 image->dri_format = format; in radeon_create_image()
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
D | radeon_screen.h | 160 uint32_t dri_format; member
|
D | radeon_screen.c | 318 image->dri_format = format; in radeon_create_image()
|
/external/mesa3d/src/egl/drivers/dri2/ |
D | platform_wayland.c | 876 int dri_format; in get_fourcc() local 885 &dri_format); in get_fourcc() 889 visual_idx = dri2_wl_visual_idx_from_dri_image_format(dri_format); in get_fourcc()
|