Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_screen.c308 const struct intel_image_format *fmt, int dri_format, in modifier_is_supported() argument
329 assert(dri_format == 0); in modifier_is_supported()
330 dri_format = fmt->planes[0].dri_format; in modifier_is_supported()
333 mesa_format format = driImageFormatToGLFormat(dri_format); in modifier_is_supported()
396 if (intel_image_formats[i].planes[0].dri_format == image->dri_format) { in intel_image_get_fourcc()
405 intel_allocate_image(struct intel_screen *screen, int dri_format, in intel_allocate_image() argument
415 image->dri_format = dri_format; in intel_allocate_image()
418 image->format = driImageFormatToGLFormat(dri_format); in intel_allocate_image()
419 if (dri_format != __DRI_IMAGE_FORMAT_NONE && in intel_allocate_image()
524 image->dri_format = driGLFormatToImageFormat(image->format); in intel_create_image_from_renderbuffer()
[all …]
Dintel_image.h62 uint32_t dri_format; member
72 uint32_t dri_format; member
Dintel_mipmap_tree.c900 const uint32_t dri_format = f->planes[i].dri_format; in miptree_create_for_planar_image() local
901 const mesa_format format = driImageFormatToGLFormat(dri_format); in miptree_create_for_planar_image()
1003 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/
Dintel_screen.c245 intel_allocate_image(int dri_format, void *loaderPrivate) in intel_allocate_image() argument
253 image->dri_format = dri_format; in intel_allocate_image()
256 image->format = driImageFormatToGLFormat(dri_format); in intel_allocate_image()
257 if (dri_format != __DRI_IMAGE_FORMAT_NONE && in intel_allocate_image()
363 image->dri_format = driGLFormatToImageFormat(image->format); in intel_create_image_from_renderbuffer()
417 image->dri_format = driGLFormatToImageFormat(image->format); in intel_create_image_from_texture()
418 if (image->dri_format == MESA_FORMAT_NONE) { in intel_create_image_from_texture()
486 *value = image->dri_format; in intel_query_image()
523 image->dri_format = orig_image->dri_format; in intel_dup_image()
641 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
/external/mesa3d/src/gallium/state_trackers/dri/
Ddri_helpers.c290 img->dri_format = driGLFormatToImageFormat(rb->Format); in dri2_create_image_from_renderbuffer2()
293 if (img->dri_format == __DRI_IMAGE_FORMAT_NONE) { in dri2_create_image_from_renderbuffer2()
372 img->dri_format = driGLFormatToImageFormat(obj->Image[face][level]->TexFormat); in dri2_create_from_texture()
376 if (img->dri_format == __DRI_IMAGE_FORMAT_NONE) { in dri2_create_from_texture()
Ddri_screen.h103 uint32_t dri_format; member
Ddri2.c1019 img->dri_format = format; in dri2_create_image_from_winsys()
1189 img->dri_format = format; in dri2_create_image_common()
1270 *value = image->dri_format; in dri2_query_image()
1284 *value = convert_to_fourcc(image->dri_format); in dri2_query_image()
1327 img->dri_format = image->dri_format; in dri2_dup_image()
/external/mesa3d/src/gbm/backends/dri/
Dgbm_dri.c592 gbm_dri_to_gbm_format(int dri_format) in gbm_dri_to_gbm_format() argument
597 if (gbm_to_dri_image_formats[i].dri_image_format == dri_format) in gbm_dri_to_gbm_format()
929 int dri_format; in gbm_dri_bo_import() local
937 dri->image->queryImage(image, __DRI_IMAGE_ATTRIB_FORMAT, &dri_format); in gbm_dri_bo_import()
938 gbm_format = gbm_dri_to_gbm_format(dri_format); in gbm_dri_bo_import()
1117 int dri_format; in gbm_dri_bo_create() local
1139 dri_format = gbm_format_to_dri_format(format); in gbm_dri_bo_create()
1140 if (dri_format == 0) { in gbm_dri_bo_create()
1178 dri_format, in gbm_dri_bo_create()
1188 dri_format, dri_use, bo); in gbm_dri_bo_create()
/external/minigbm/
Ddri.c169 int ret, dri_format, stride, offset; in dri_bo_create() local
173 dri_format = drm_format_to_dri_format(format); in dri_bo_create()
184 bo->priv = dri->image_extension->createImage(dri->device, width, height, dri_format, in dri_bo_create()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_screen.h108 uint32_t dri_format; member
Dradeon_screen.c299 image->dri_format = format; in radeon_create_image()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_screen.h108 uint32_t dri_format; member
Dradeon_screen.c299 image->dri_format = format; in radeon_create_image()
/external/mesa3d/src/egl/drivers/dri2/
Dplatform_wayland.c702 int dri_format; in get_fourcc() local
710 &dri_format); in get_fourcc()
714 switch (dri_format) { in get_fourcc()