Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/drivers/dri/intel/
Dintel_tex_format.c56 int intel_compressed_num_bytes(GLuint mesaFormat) in intel_compressed_num_bytes() argument
61 block_size = _mesa_get_format_bytes(mesaFormat); in intel_compressed_num_bytes()
62 _mesa_get_format_block_size(mesaFormat, &bw, &bh); in intel_compressed_num_bytes()
Dintel_tex.h79 int intel_compressed_num_bytes(GLuint mesaFormat);
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_tex_format.c56 int intel_compressed_num_bytes(GLuint mesaFormat) in intel_compressed_num_bytes() argument
61 block_size = _mesa_get_format_bytes(mesaFormat); in intel_compressed_num_bytes()
62 _mesa_get_format_block_size(mesaFormat, &bw, &bh); in intel_compressed_num_bytes()
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_tex_format.c56 int intel_compressed_num_bytes(GLuint mesaFormat) in intel_compressed_num_bytes() argument
61 block_size = _mesa_get_format_bytes(mesaFormat); in intel_compressed_num_bytes()
62 _mesa_get_format_block_size(mesaFormat, &bw, &bh); in intel_compressed_num_bytes()
/external/mesa3d/src/mesa/main/
Dtexcompress.c375 _mesa_compressed_format_to_glenum(struct gl_context *ctx, gl_format mesaFormat) in _mesa_compressed_format_to_glenum() argument
377 switch (mesaFormat) { in _mesa_compressed_format_to_glenum()
446 gl_format mesaFormat, in _mesa_compressed_image_address() argument
450 const GLuint blockSize = _mesa_get_format_bytes(mesaFormat); in _mesa_compressed_image_address()
454 _mesa_get_format_block_size(mesaFormat, &bw, &bh); in _mesa_compressed_image_address()
Dtexcompress.h46 _mesa_compressed_format_to_glenum(struct gl_context *ctx, gl_format mesaFormat);
50 gl_format mesaFormat,
Dteximage.c1691 gl_format mesaFormat = _mesa_glenum_to_compressed_format(glformat); in compressed_tex_size() local
1692 return _mesa_format_image_size(mesaFormat, width, height, depth); in compressed_tex_size()
1702 gl_format mesaFormat = _mesa_glenum_to_compressed_format(glformat); in get_compressed_block_size() local
1703 _mesa_get_format_block_size(mesaFormat, bw, bh); in get_compressed_block_size()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_mipmap_tree.c135 …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()
189 GLenum target, gl_format mesaFormat, GLuint baseLevel, GLuint numLevels, in radeon_miptree_create() argument
198 mt->mesaFormat = mesaFormat; in radeon_miptree_create()
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()
427 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, gl_format mesaFormat, GLuint baseLevel, GLuint numLevels,
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_mipmap_tree.c135 …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()
189 GLenum target, gl_format mesaFormat, GLuint baseLevel, GLuint numLevels, in radeon_miptree_create() argument
198 mt->mesaFormat = mesaFormat; in radeon_miptree_create()
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()
427 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, gl_format mesaFormat, GLuint baseLevel, GLuint numLevels,
/external/mesa3d/src/mesa/state_tracker/
Dst_format.h44 st_mesa_format_to_pipe_format(gl_format mesaFormat);
Dst_format.c55 st_mesa_format_to_pipe_format(gl_format mesaFormat) in st_mesa_format_to_pipe_format() argument
57 switch (mesaFormat) { in st_mesa_format_to_pipe_format()