/external/mesa3d/src/mesa/main/ |
D | texgetimage.c | 105 _mesa_unpack_float_z_row(texImage->TexFormat, width, src, depthRow); in get_tex_depth() 197 if ((texImage->TexFormat == MESA_FORMAT_YCBCR in get_tex_ycbcr() 199 (texImage->TexFormat == MESA_FORMAT_YCBCR_REV in get_tex_ycbcr() 230 _mesa_get_srgb_format_linear(texImage->TexFormat); in get_tex_rgba_compressed() 324 _mesa_get_srgb_format_linear(texImage->TexFormat); in get_tex_rgba_uncompressed() 333 GLboolean tex_is_integer = _mesa_is_format_integer_color(texImage->TexFormat); in get_tex_rgba_uncompressed() 334 GLboolean tex_is_uint = _mesa_is_format_unsigned(texImage->TexFormat); in get_tex_rgba_uncompressed() 432 const GLenum dataType = _mesa_get_format_datatype(texImage->TexFormat); in get_tex_rgba() 448 if (_mesa_is_format_compressed(texImage->TexFormat)) { in get_tex_rgba() 480 memCopy = _mesa_format_matches_format_and_type(texImage->TexFormat, in get_tex_memcpy() [all …]
|
D | texobj.c | 492 GLenum datatype = _mesa_get_format_datatype(baseImage->TexFormat); in _mesa_test_texobj_completeness() 615 if (img->TexFormat != baseImage->TexFormat) { in _mesa_test_texobj_completeness() 686 img->TexFormat != img0->TexFormat) in _mesa_cube_complete() 840 GLuint sz = _mesa_format_image_size(img->TexFormat, img->Width, in texture_size()
|
/external/mesa3d/src/mesa/swrast/ |
D | s_texture.c | 70 GLuint bytes = _mesa_format_image_size(texImage->TexFormat, texImage->Width, in _swrast_alloc_texture_image_buffer() 199 texelSize = _mesa_get_format_bytes(texImage->TexFormat); in _swrast_map_teximage() 200 stride = _mesa_format_row_stride(texImage->TexFormat, texImage->Width); in _swrast_map_teximage() 201 _mesa_get_format_block_size(texImage->TexFormat, &bw, &bh); in _swrast_map_teximage() 216 GLuint sliceSize = _mesa_format_image_size(texImage->TexFormat, in _swrast_map_teximage() 223 GLuint sliceSize = _mesa_format_image_size(texImage->TexFormat, in _swrast_map_teximage()
|
D | s_texrender.c | 75 format = swImage->Base.TexFormat; in update_wrapper()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | intel_tex_copy.c | 73 copy_supported = intelImage->base.Base.TexFormat == intel_rb_format(irb); in intel_copy_texsubimage() 77 intelImage->base.Base.TexFormat == MESA_FORMAT_XRGB8888) { in intel_copy_texsubimage() 83 intelImage->base.Base.TexFormat == MESA_FORMAT_ARGB8888) { in intel_copy_texsubimage() 91 _mesa_get_format_name(intelImage->base.Base.TexFormat), in intel_copy_texsubimage()
|
D | intel_tex_image.c | 96 intelImage->base.Base.TexFormat, in intel_miptree_create_for_teximage() 156 if (!check_pbo_format(format, type, intelImage->base.Base.TexFormat)) { in try_pbo_upload() 158 __FUNCTION__, _mesa_get_format_name(intelImage->base.Base.TexFormat), in try_pbo_upload() 255 image->TexFormat, in intel_set_texture_image_region()
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
D | intel_tex_copy.c | 73 copy_supported = intelImage->base.Base.TexFormat == intel_rb_format(irb); in intel_copy_texsubimage() 77 intelImage->base.Base.TexFormat == MESA_FORMAT_XRGB8888) { in intel_copy_texsubimage() 83 intelImage->base.Base.TexFormat == MESA_FORMAT_ARGB8888) { in intel_copy_texsubimage() 91 _mesa_get_format_name(intelImage->base.Base.TexFormat), in intel_copy_texsubimage()
|
D | intel_tex_image.c | 96 intelImage->base.Base.TexFormat, in intel_miptree_create_for_teximage() 156 if (!check_pbo_format(format, type, intelImage->base.Base.TexFormat)) { in try_pbo_upload() 158 __FUNCTION__, _mesa_get_format_name(intelImage->base.Base.TexFormat), in try_pbo_upload() 255 image->TexFormat, in intel_set_texture_image_region()
|
D | i830_texstate.c | 160 format = translate_texture_format(firstImage->TexFormat); in i830_update_tex_unit() 255 if (firstImage->TexFormat->MesaFormat == MESA_FORMAT_YCBCR || in i830_update_tex_unit() 256 firstImage->TexFormat->MesaFormat == MESA_FORMAT_YCBCR_REV) in i830_update_tex_unit()
|
D | i915_texstate.c | 170 format = translate_texture_format(firstImage->TexFormat, in i915_update_tex_unit() 259 if (firstImage->TexFormat == MESA_FORMAT_YCBCR || in i915_update_tex_unit() 260 firstImage->TexFormat == MESA_FORMAT_YCBCR_REV) in i915_update_tex_unit()
|
/external/mesa3d/src/mesa/drivers/dri/intel/ |
D | intel_tex_copy.c | 73 copy_supported = intelImage->base.Base.TexFormat == intel_rb_format(irb); in intel_copy_texsubimage() 77 intelImage->base.Base.TexFormat == MESA_FORMAT_XRGB8888) { in intel_copy_texsubimage() 83 intelImage->base.Base.TexFormat == MESA_FORMAT_ARGB8888) { in intel_copy_texsubimage() 91 _mesa_get_format_name(intelImage->base.Base.TexFormat), in intel_copy_texsubimage()
|
D | intel_tex_image.c | 96 intelImage->base.Base.TexFormat, in intel_miptree_create_for_teximage() 156 if (!check_pbo_format(format, type, intelImage->base.Base.TexFormat)) { in try_pbo_upload() 158 __FUNCTION__, _mesa_get_format_name(intelImage->base.Base.TexFormat), in try_pbo_upload() 255 image->TexFormat, in intel_set_texture_image_region()
|
/external/mesa3d/src/mesa/drivers/dri/r200/ |
D | radeon_mipmap_tree.c | 305 if (texImage->TexFormat != mt->mesaFormat) in radeon_miptree_matches_image() 337 fprintf(stderr, "format %d vs %d\n", mt->mesaFormat, firstImage->TexFormat); in radeon_miptree_matches_texture() 343 mt->mesaFormat == firstImage->TexFormat && in radeon_miptree_matches_texture() 355 mt->mesaFormat == firstImage->TexFormat && in radeon_miptree_matches_texture() 384 texImg->TexFormat, texObj->BaseLevel, in radeon_try_alloc_miptree() 427 assert(mt->mesaFormat == image->base.Base.TexFormat); in migrate_image_to_miptree() 450 …const uint32_t srcrowstride = _mesa_format_row_stride(image->base.Base.TexFormat, image->base.Base… in migrate_image_to_miptree() 453 if (_mesa_is_format_compressed(image->base.Base.TexFormat)) { in migrate_image_to_miptree() 455 _mesa_get_format_block_size(image->base.Base.TexFormat, &blockWidth, &blockHeight); in migrate_image_to_miptree()
|
D | radeon_texture.c | 172 image->base.RowStride = lvl->rowstride / _mesa_get_format_bytes(image->base.Base.TexFormat); in teximage_set_map_data() 225 GLuint texel_size = _mesa_get_format_bytes(texImage->TexFormat); in radeon_map_texture_image() 232 _mesa_get_format_block_size(texImage->TexFormat, &bw, &bh); in radeon_map_texture_image() 248 …*stride = get_texture_image_row_stride(rmesa, texImage->TexFormat, width, 0, texImage->TexObject->… in radeon_map_texture_image() 264 *stride = _mesa_format_row_stride(texImage->TexFormat, width); in radeon_map_texture_image() 615 texImage->TexFormat = image->format; in radeon_image_target_texture_2d() 718 texel_size = _mesa_get_format_bytes(image->base.Base.TexFormat); in radeon_swrast_map_image() 830 texImage->TexFormat, firstLevel, lastLevel - firstLevel + 1, in radeon_miptree_create_for_teximage()
|
D | radeon_tex_copy.c | 66 if (_mesa_get_format_bits(timg->base.Base.TexFormat, GL_DEPTH_BITS) > 0) { in do_copy_texsubimage() 98 dst_mesaformat = timg->base.Base.TexFormat; in do_copy_texsubimage()
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
D | radeon_mipmap_tree.c | 305 if (texImage->TexFormat != mt->mesaFormat) in radeon_miptree_matches_image() 337 fprintf(stderr, "format %d vs %d\n", mt->mesaFormat, firstImage->TexFormat); in radeon_miptree_matches_texture() 343 mt->mesaFormat == firstImage->TexFormat && in radeon_miptree_matches_texture() 355 mt->mesaFormat == firstImage->TexFormat && in radeon_miptree_matches_texture() 384 texImg->TexFormat, texObj->BaseLevel, in radeon_try_alloc_miptree() 427 assert(mt->mesaFormat == image->base.Base.TexFormat); in migrate_image_to_miptree() 450 …const uint32_t srcrowstride = _mesa_format_row_stride(image->base.Base.TexFormat, image->base.Base… in migrate_image_to_miptree() 453 if (_mesa_is_format_compressed(image->base.Base.TexFormat)) { in migrate_image_to_miptree() 455 _mesa_get_format_block_size(image->base.Base.TexFormat, &blockWidth, &blockHeight); in migrate_image_to_miptree()
|
D | radeon_texture.c | 172 image->base.RowStride = lvl->rowstride / _mesa_get_format_bytes(image->base.Base.TexFormat); in teximage_set_map_data() 225 GLuint texel_size = _mesa_get_format_bytes(texImage->TexFormat); in radeon_map_texture_image() 232 _mesa_get_format_block_size(texImage->TexFormat, &bw, &bh); in radeon_map_texture_image() 248 …*stride = get_texture_image_row_stride(rmesa, texImage->TexFormat, width, 0, texImage->TexObject->… in radeon_map_texture_image() 264 *stride = _mesa_format_row_stride(texImage->TexFormat, width); in radeon_map_texture_image() 615 texImage->TexFormat = image->format; in radeon_image_target_texture_2d() 718 texel_size = _mesa_get_format_bytes(image->base.Base.TexFormat); in radeon_swrast_map_image() 830 texImage->TexFormat, firstLevel, lastLevel - firstLevel + 1, in radeon_miptree_create_for_teximage()
|
D | radeon_tex_copy.c | 66 if (_mesa_get_format_bits(timg->base.Base.TexFormat, GL_DEPTH_BITS) > 0) { in do_copy_texsubimage() 98 dst_mesaformat = timg->base.Base.TexFormat; in do_copy_texsubimage()
|
D | radeon_texstate.c | 989 texelBytes = _mesa_get_format_bytes(firstImage->TexFormat); in setup_hardware_state() 992 if (VALID_FORMAT(firstImage->TexFormat)) { in setup_hardware_state() 999 t->pp_txformat |= table[ firstImage->TexFormat ].format; in setup_hardware_state() 1000 t->pp_txfilter |= table[ firstImage->TexFormat ].filter; in setup_hardware_state() 1041 if (_mesa_is_format_compressed(firstImage->TexFormat)) in setup_hardware_state()
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
D | nouveau_texture.c | 335 (s->bo && s->format == ti->TexFormat && in teximage_fits() 472 if (ti->TexFormat == MESA_FORMAT_A8 || in get_teximage_placement() 473 ti->TexFormat == MESA_FORMAT_L8 || in get_teximage_placement() 474 ti->TexFormat == MESA_FORMAT_I8) in get_teximage_placement() 499 ti->TexFormat, ti->Width, ti->Height); in nouveau_teximage() 517 ti->TexFormat, in nouveau_teximage() 590 ret = _mesa_texstore(ctx, dims, ti->_BaseFormat, ti->TexFormat, in nouveau_texsubimage()
|
D | nv10_state_tex.c | 92 switch (ti->TexFormat) { in get_tex_format_pot() 133 switch (ti->TexFormat) { in get_tex_format_rect()
|
D | nv20_state_tex.c | 89 switch (ti->TexFormat) { in get_tex_format_pot() 130 switch (ti->TexFormat) { in get_tex_format_rect()
|
D | nv04_context.c | 40 return ti->TexFormat == MESA_FORMAT_A8 || in texunit_needs_combiners() 41 ti->TexFormat == MESA_FORMAT_L8 || in texunit_needs_combiners()
|
D | nv04_state_tex.c | 40 switch (ti->TexFormat) { in get_tex_format()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_cb_texture.c | 378 fmt = st_mesa_format_to_pipe_format(stImage->base.TexFormat); in guess_and_alloc_texture() 466 st_mesa_format_to_pipe_format(texImage->TexFormat); in st_AllocTextureImageBuffer() 623 if (_mesa_format_matches_format_and_type(stImage->base.TexFormat, in decompress_with_blit() 820 texImage->TexFormat, in fallback_copy_texsubimage() 979 _mesa_get_format_base_format(texImage->TexFormat)); in st_CopyTexSubImage() 1214 firstImageFormat = st_mesa_format_to_pipe_format(firstImage->base.TexFormat); in st_finalize_texture() 1327 fmt = st_mesa_format_to_pipe_format(texObj->Image[0][0]->TexFormat); in st_AllocTextureStorage()
|