Home
last modified time | relevance | path

Searched refs:mesaFormat (Results 1 – 11 of 11) sorted by relevance

/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_mipmap_tree.c134 …lvl->rowstride = get_texture_image_row_stride(rmesa, mt->mesaFormat, lvl->width, mt->tilebits, mt-… in compute_tex_image_offset()
135 …lvl->size = get_texture_image_size(mt->mesaFormat, lvl->rowstride, height, lvl->depth, mt->tilebit… in compute_tex_image_offset()
179 GLenum target, mesa_format mesaFormat, GLuint baseLevel, GLuint numLevels, in radeon_miptree_create() argument
188 mt->mesaFormat = mesaFormat; in radeon_miptree_create()
295 if (texImage->TexFormat != mt->mesaFormat) in radeon_miptree_matches_image()
327 fprintf(stderr, "format %d vs %d\n", mt->mesaFormat, firstImage->TexFormat); in radeon_miptree_matches_texture()
333 mt->mesaFormat == firstImage->TexFormat && in radeon_miptree_matches_texture()
345 mt->mesaFormat == firstImage->TexFormat && in radeon_miptree_matches_texture()
417 assert(mt->mesaFormat == image->base.Base.TexFormat); in migrate_image_to_miptree()
Dradeon_mipmap_tree.h69 GLenum mesaFormat; /** MESA_FORMAT_xxx */ member
104 GLenum target, mesa_format mesaFormat, GLuint baseLevel, GLuint numLevels,
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_mipmap_tree.c134 …lvl->rowstride = get_texture_image_row_stride(rmesa, mt->mesaFormat, lvl->width, mt->tilebits, mt-… in compute_tex_image_offset()
135 …lvl->size = get_texture_image_size(mt->mesaFormat, lvl->rowstride, height, lvl->depth, mt->tilebit… in compute_tex_image_offset()
179 GLenum target, mesa_format mesaFormat, GLuint baseLevel, GLuint numLevels, in radeon_miptree_create() argument
188 mt->mesaFormat = mesaFormat; in radeon_miptree_create()
295 if (texImage->TexFormat != mt->mesaFormat) in radeon_miptree_matches_image()
327 fprintf(stderr, "format %d vs %d\n", mt->mesaFormat, firstImage->TexFormat); in radeon_miptree_matches_texture()
333 mt->mesaFormat == firstImage->TexFormat && in radeon_miptree_matches_texture()
345 mt->mesaFormat == firstImage->TexFormat && in radeon_miptree_matches_texture()
417 assert(mt->mesaFormat == image->base.Base.TexFormat); in migrate_image_to_miptree()
Dradeon_mipmap_tree.h69 GLenum mesaFormat; /** MESA_FORMAT_xxx */ member
104 GLenum target, mesa_format mesaFormat, GLuint baseLevel, GLuint numLevels,
/external/mesa3d/src/mesa/main/
Dtexcompress.h43 _mesa_compressed_format_to_glenum(struct gl_context *ctx, mesa_format mesaFormat);
47 mesa_format mesaFormat,
Dtexcompress.c679 _mesa_compressed_format_to_glenum(struct gl_context *ctx, mesa_format mesaFormat) in _mesa_compressed_format_to_glenum() argument
681 switch (mesaFormat) { in _mesa_compressed_format_to_glenum()
869 mesa_format mesaFormat, in _mesa_compressed_image_address() argument
873 const GLuint blockSize = _mesa_get_format_bytes(mesaFormat); in _mesa_compressed_image_address()
877 _mesa_get_format_block_size(mesaFormat, &bw, &bh); in _mesa_compressed_image_address()
Dbufferobj.c366 mesa_format mesaFormat; in validate_clear_buffer_format() local
369 mesaFormat = _mesa_validate_texbuffer_format(ctx, internalformat); in validate_clear_buffer_format()
370 if (mesaFormat == MESA_FORMAT_NONE) { in validate_clear_buffer_format()
381 _mesa_is_format_integer_color(mesaFormat)) { in validate_clear_buffer_format()
400 return mesaFormat; in validate_clear_buffer_format()
1892 mesa_format mesaFormat; in _mesa_clear_buffer_sub_data() local
1902 mesaFormat = validate_clear_buffer_format(ctx, internalformat, in _mesa_clear_buffer_sub_data()
1905 if (mesaFormat == MESA_FORMAT_NONE) { in _mesa_clear_buffer_sub_data()
1909 clearValueSize = _mesa_get_format_bytes(mesaFormat); in _mesa_clear_buffer_sub_data()
1930 if (!convert_clear_buffer_data(ctx, mesaFormat, clearValue, in _mesa_clear_buffer_sub_data()
Dteximage.c1619 mesa_format mesaFormat = _mesa_glenum_to_compressed_format(glformat); in compressed_tex_size() local
1620 return _mesa_format_image_size(mesaFormat, width, height, depth); in compressed_tex_size()
/external/mesa3d/src/mesa/state_tracker/
Dst_format.h48 st_mesa_format_to_pipe_format(struct st_context *st, mesa_format mesaFormat);
Dst_format.c61 st_mesa_format_to_pipe_format(struct st_context *st, mesa_format mesaFormat) in st_mesa_format_to_pipe_format() argument
63 switch (mesaFormat) { in st_mesa_format_to_pipe_format()
/external/mesa3d/src/mesa/drivers/common/
Dmeta_tex_subimage.c50 need_signed_unsigned_int_conversion(mesa_format mesaFormat, in need_signed_unsigned_int_conversion() argument
53 const GLenum mesaFormatType = _mesa_get_format_datatype(mesaFormat); in need_signed_unsigned_int_conversion()