/external/mesa3d/src/mesa/drivers/dri/r200/ |
D | radeon_mipmap_tree.c | 135 …lvl->rowstride = get_texture_image_row_stride(rmesa, mt->mesaFormat, lvl->width, mt->tilebits, mt-… in compute_tex_image_offset() 136 …lvl->size = get_texture_image_size(mt->mesaFormat, lvl->rowstride, height, lvl->depth, mt->tilebit… in compute_tex_image_offset() 180 GLenum target, mesa_format mesaFormat, GLuint baseLevel, GLuint numLevels, in radeon_miptree_create() argument 189 mt->mesaFormat = mesaFormat; in radeon_miptree_create() 296 if (texImage->TexFormat != mt->mesaFormat) in radeon_miptree_matches_image() 328 fprintf(stderr, "format %d vs %d\n", mt->mesaFormat, firstImage->TexFormat); in radeon_miptree_matches_texture() 334 mt->mesaFormat == firstImage->TexFormat && in radeon_miptree_matches_texture() 346 mt->mesaFormat == firstImage->TexFormat && in radeon_miptree_matches_texture() 418 assert(mt->mesaFormat == image->base.Base.TexFormat); in migrate_image_to_miptree()
|
D | radeon_mipmap_tree.h | 69 GLenum mesaFormat; /** MESA_FORMAT_xxx */ member 104 GLenum target, mesa_format mesaFormat, GLuint baseLevel, GLuint numLevels,
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
D | radeon_mipmap_tree.c | 135 …lvl->rowstride = get_texture_image_row_stride(rmesa, mt->mesaFormat, lvl->width, mt->tilebits, mt-… in compute_tex_image_offset() 136 …lvl->size = get_texture_image_size(mt->mesaFormat, lvl->rowstride, height, lvl->depth, mt->tilebit… in compute_tex_image_offset() 180 GLenum target, mesa_format mesaFormat, GLuint baseLevel, GLuint numLevels, in radeon_miptree_create() argument 189 mt->mesaFormat = mesaFormat; in radeon_miptree_create() 296 if (texImage->TexFormat != mt->mesaFormat) in radeon_miptree_matches_image() 328 fprintf(stderr, "format %d vs %d\n", mt->mesaFormat, firstImage->TexFormat); in radeon_miptree_matches_texture() 334 mt->mesaFormat == firstImage->TexFormat && in radeon_miptree_matches_texture() 346 mt->mesaFormat == firstImage->TexFormat && in radeon_miptree_matches_texture() 418 assert(mt->mesaFormat == image->base.Base.TexFormat); in migrate_image_to_miptree()
|
D | radeon_mipmap_tree.h | 69 GLenum mesaFormat; /** MESA_FORMAT_xxx */ member 104 GLenum target, mesa_format mesaFormat, GLuint baseLevel, GLuint numLevels,
|
/external/mesa3d/src/mesa/main/ |
D | texcompress.h | 43 _mesa_compressed_format_to_glenum(struct gl_context *ctx, mesa_format mesaFormat); 47 mesa_format mesaFormat,
|
D | texcompress.c | 688 mesa_format mesaFormat) in _mesa_compressed_format_to_glenum() argument 690 switch (mesaFormat) { in _mesa_compressed_format_to_glenum() 886 mesa_format mesaFormat, in _mesa_compressed_image_address() argument 890 const GLuint blockSize = _mesa_get_format_bytes(mesaFormat); in _mesa_compressed_image_address() 894 _mesa_get_format_block_size(mesaFormat, &bw, &bh); in _mesa_compressed_image_address()
|
D | bufferobj.c | 384 mesa_format mesaFormat; in validate_clear_buffer_format() local 387 mesaFormat = _mesa_validate_texbuffer_format(ctx, internalformat); in validate_clear_buffer_format() 388 if (mesaFormat == MESA_FORMAT_NONE) { in validate_clear_buffer_format() 399 _mesa_is_format_integer_color(mesaFormat)) { in validate_clear_buffer_format() 418 return mesaFormat; in validate_clear_buffer_format() 2424 mesa_format mesaFormat; in clear_buffer_sub_data() local 2435 mesaFormat = _mesa_get_texbuffer_format(ctx, internalformat); in clear_buffer_sub_data() 2437 mesaFormat = validate_clear_buffer_format(ctx, internalformat, in clear_buffer_sub_data() 2441 if (mesaFormat == MESA_FORMAT_NONE) in clear_buffer_sub_data() 2444 clearValueSize = _mesa_get_format_bytes(mesaFormat); in clear_buffer_sub_data() [all …]
|
D | teximage.c | 1661 mesa_format mesaFormat = _mesa_glenum_to_compressed_format(glformat); in compressed_tex_size() local 1662 return _mesa_format_image_size(mesaFormat, width, height, depth); in compressed_tex_size()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_format.c | 63 mesa_format mesaFormat) in st_mesa_format_to_pipe_format() argument 70 if (mesaFormat == MESA_FORMAT_ETC1_RGB8 && !st->has_etc1) in st_mesa_format_to_pipe_format() 77 if (_mesa_is_format_etc2(mesaFormat) && !st->has_etc2) { in st_mesa_format_to_pipe_format() 83 switch (mesaFormat) { in st_mesa_format_to_pipe_format() 109 if (st_astc_format_fallback(st, mesaFormat)) { in st_mesa_format_to_pipe_format() 110 if (_mesa_is_format_srgb(mesaFormat)) in st_mesa_format_to_pipe_format() 116 return mesaFormat; in st_mesa_format_to_pipe_format()
|
D | st_format.h | 47 st_mesa_format_to_pipe_format(const struct st_context *st, mesa_format mesaFormat);
|