Home
last modified time | relevance | path

Searched refs:_mesa_get_format_bytes (Results 1 – 25 of 60) sorted by relevance

123

/external/mesa3d/src/mesa/main/
Dtexstore.c941 const GLuint texelBytes = _mesa_get_format_bytes(dstFormat); in memcpy_texture()
1018 ASSERT(_mesa_get_format_bytes(dstFormat) == sizeof(GLuint)); in _mesa_texstore_z32()
1130 ASSERT(_mesa_get_format_bytes(dstFormat) == sizeof(GLushort)); in _mesa_texstore_z16()
1173 ASSERT(_mesa_get_format_bytes(dstFormat) == 2); in _mesa_texstore_rgb565()
1242 ASSERT(_mesa_get_format_bytes(dstFormat) == 4); in _mesa_texstore_rgba8888()
1310 ASSERT(_mesa_get_format_bytes(dstFormat) == 4); in _mesa_texstore_argb8888()
1465 ASSERT(_mesa_get_format_bytes(dstFormat) == 3); in _mesa_texstore_rgb888()
1538 ASSERT(_mesa_get_format_bytes(dstFormat) == 3); in _mesa_texstore_bgr888()
1612 ASSERT(_mesa_get_format_bytes(dstFormat) == 2); in _mesa_texstore_argb4444()
1638 ASSERT(_mesa_get_format_bytes(dstFormat) == 2); in _mesa_texstore_rgba5551()
[all …]
Dtexcompress.c450 const GLuint blockSize = _mesa_get_format_bytes(mesaFormat); in _mesa_compressed_image_address()
482 bytes = _mesa_get_format_bytes(format); in _mesa_decompress_image()
Dformats.h289 _mesa_get_format_bytes(gl_format format);
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_tile.c220 src_pitch, dst_pitch, width, height, _mesa_get_format_bytes(format)); in tile_image()
222 switch (_mesa_get_format_bytes(format)) in tile_image()
444 src_pitch, dst_pitch, width, height, _mesa_get_format_bytes(format)); in untile_image()
446 switch (_mesa_get_format_bytes(format)) in untile_image()
478 switch (_mesa_get_format_bytes(format)) in get_tile_size()
Dradeon_pixel_read.c133 dst_rowstride *= _mesa_get_format_bytes(dst_format); in do_blit_readpixels()
170 aligned_rowstride / _mesa_get_format_bytes(dst_format), in do_blit_readpixels()
Dradeon_tex_copy.c99 src_bpp = _mesa_get_format_bytes(src_mesaformat); in do_copy_texsubimage()
100 dst_bpp = _mesa_get_format_bytes(dst_mesaformat); in do_copy_texsubimage()
Dradeon_texture.c172 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()
718 texel_size = _mesa_get_format_bytes(image->base.Base.TexFormat); in radeon_swrast_map_image()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_tile.c220 src_pitch, dst_pitch, width, height, _mesa_get_format_bytes(format)); in tile_image()
222 switch (_mesa_get_format_bytes(format)) in tile_image()
444 src_pitch, dst_pitch, width, height, _mesa_get_format_bytes(format)); in untile_image()
446 switch (_mesa_get_format_bytes(format)) in untile_image()
478 switch (_mesa_get_format_bytes(format)) in get_tile_size()
Dradeon_pixel_read.c133 dst_rowstride *= _mesa_get_format_bytes(dst_format); in do_blit_readpixels()
170 aligned_rowstride / _mesa_get_format_bytes(dst_format), in do_blit_readpixels()
Dradeon_tex_copy.c99 src_bpp = _mesa_get_format_bytes(src_mesaformat); in do_copy_texsubimage()
100 dst_bpp = _mesa_get_format_bytes(dst_mesaformat); in do_copy_texsubimage()
Dradeon_texture.c172 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()
718 texel_size = _mesa_get_format_bytes(image->base.Base.TexFormat); in radeon_swrast_map_image()
Dradeon_screen.c241 image->cpp = _mesa_get_format_bytes(image->format); in radeon_create_image_from_name()
341 image->cpp = _mesa_get_format_bytes(image->format); in radeon_create_image()
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_tex_format.c61 block_size = _mesa_get_format_bytes(mesaFormat); in intel_compressed_num_bytes()
Dintel_screen.c308 cpp = _mesa_get_format_bytes(image->format); in intel_create_image_from_name()
397 cpp = _mesa_get_format_bytes(image->format); in intel_create_image()
543 cpp = _mesa_get_format_bytes(image->format); /* safe since no none format */ in intel_from_planar()
557 image->region->cpp = _mesa_get_format_bytes(image->format); in intel_from_planar()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_tex_format.c61 block_size = _mesa_get_format_bytes(mesaFormat); in intel_compressed_num_bytes()
Dintel_screen.c308 cpp = _mesa_get_format_bytes(image->format); in intel_create_image_from_name()
397 cpp = _mesa_get_format_bytes(image->format); in intel_create_image()
543 cpp = _mesa_get_format_bytes(image->format); /* safe since no none format */ in intel_from_planar()
557 image->region->cpp = _mesa_get_format_bytes(image->format); in intel_from_planar()
/external/mesa3d/src/mesa/drivers/dri/intel/
Dintel_tex_format.c61 block_size = _mesa_get_format_bytes(mesaFormat); in intel_compressed_num_bytes()
Dintel_screen.c308 cpp = _mesa_get_format_bytes(image->format); in intel_create_image_from_name()
397 cpp = _mesa_get_format_bytes(image->format); in intel_create_image()
543 cpp = _mesa_get_format_bytes(image->format); /* safe since no none format */ in intel_from_planar()
557 image->region->cpp = _mesa_get_format_bytes(image->format); in intel_from_planar()
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_surface.c40 int ret, cpp = _mesa_get_format_bytes(format); in nouveau_surface_alloc()
/external/mesa3d/src/mesa/swrast/
Ds_texrender.c98 swImage->ImageOffsets[zOffset] * _mesa_get_format_bytes(format); in update_wrapper()
Ds_stencil.c66 GLint bpp = _mesa_get_format_bytes(format); in get_stencil_offset()
310 const GLint bpp = _mesa_get_format_bytes(rb->Format); in get_s8_values()
355 const GLint stencilStride = _mesa_get_format_bytes(rb->Format); in _swrast_stencil_and_ztest_span()
Ds_depth.c229 const GLint bpp = _mesa_get_format_bytes(rb->Format); in get_z32_values()
266 const GLint bpp = _mesa_get_format_bytes(rb->Format); in put_z32_values()
287 const GLint bpp = _mesa_get_format_bytes(rb->Format); in _swrast_depth_test_span()
Ds_clear.c50 const GLuint pixelSize = _mesa_get_format_bytes(rb->Format); in clear_rgba_buffer()
Ds_blit.c154 pixelSize = _mesa_get_format_bytes(readRb->Format); in blit_nearest()
218 GLint formatSize = _mesa_get_format_bytes(readRb->Format); in blit_nearest()
518 GLuint bpp = _mesa_get_format_bytes(readFormat); in blit_linear()
Ds_renderbuffer.c119 bpp = _mesa_get_format_bytes(rb->Format); in soft_renderbuffer_storage()
189 int cpp = _mesa_get_format_bytes(rb->Format); in _swrast_map_soft_renderbuffer()

123