Home
last modified time | relevance | path

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

123

/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_tile.c221 src_pitch, dst_pitch, width, height, _mesa_get_format_bytes(format)); in tile_image()
223 switch (_mesa_get_format_bytes(format)) in tile_image()
445 src_pitch, dst_pitch, width, height, _mesa_get_format_bytes(format)); in untile_image()
447 switch (_mesa_get_format_bytes(format)) in untile_image()
479 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_mipmap_tree.c45 const unsigned blockBytes = _mesa_get_format_bytes(format); in get_aligned_compressed_row_stride()
110 row_align = tileWidth * _mesa_get_format_bytes(format) - 1; in get_texture_image_row_stride()
Dradeon_screen.c231 image->cpp = _mesa_get_format_bytes(image->format); in radeon_create_image_from_name()
331 image->cpp = _mesa_get_format_bytes(image->format); in radeon_create_image()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_tile.c221 src_pitch, dst_pitch, width, height, _mesa_get_format_bytes(format)); in tile_image()
223 switch (_mesa_get_format_bytes(format)) in tile_image()
445 src_pitch, dst_pitch, width, height, _mesa_get_format_bytes(format)); in untile_image()
447 switch (_mesa_get_format_bytes(format)) in untile_image()
479 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_mipmap_tree.c45 const unsigned blockBytes = _mesa_get_format_bytes(format); in get_aligned_compressed_row_stride()
110 row_align = tileWidth * _mesa_get_format_bytes(format) - 1; in get_texture_image_row_stride()
Dradeon_screen.c231 image->cpp = _mesa_get_format_bytes(image->format); in radeon_create_image_from_name()
331 image->cpp = _mesa_get_format_bytes(image->format); in radeon_create_image()
/external/mesa3d/src/mesa/swrast/
Ds_stencil.c68 GLint bpp = _mesa_get_format_bytes(format); in get_stencil_offset()
312 const GLint bpp = _mesa_get_format_bytes(rb->Format); in get_s8_values()
357 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_blit.c212 pixelSize = _mesa_get_format_bytes(readRb->Format); in blit_nearest()
251 GLint formatSize = _mesa_get_format_bytes(readRb->Format); in blit_nearest()
541 GLuint bpp = _mesa_get_format_bytes(readFormat); in blit_linear()
Ds_renderbuffer.c119 bpp = _mesa_get_format_bytes(rb->Format); in soft_renderbuffer_storage()
187 int cpp = _mesa_get_format_bytes(rb->Format); in _swrast_map_soft_renderbuffer()
Ds_clear.c50 const GLuint pixelSize = _mesa_get_format_bytes(rb->Format); in clear_rgba_buffer()
Ds_context.h484 const GLint bpp = _mesa_get_format_bytes(rb->Format); in _swrast_pixel_address()
/external/mesa3d/src/mesa/main/
Dtexstore.c114 const GLuint texelBytes = _mesa_get_format_bytes(dstFormat); in _mesa_memcpy_texture()
155 assert(_mesa_get_format_bytes(dstFormat) == sizeof(GLuint)); in _mesa_texstore_z32()
254 assert(_mesa_get_format_bytes(dstFormat) == sizeof(GLushort)); in _mesa_texstore_z16()
288 assert(_mesa_get_format_bytes(dstFormat) == 2); in _mesa_texstore_ycbcr()
1189 clearValueSize = _mesa_get_format_bytes(texImage->TexFormat); in _mesa_store_cleartexsubimage()
Dshaderimage.c511 if (_mesa_get_format_bytes(tex_format) != in _mesa_is_image_unit_valid()
512 _mesa_get_format_bytes(u->_ActualFormat)) in _mesa_is_image_unit_valid()
Dtexcompress.c873 const GLuint blockSize = _mesa_get_format_bytes(mesaFormat); in _mesa_compressed_image_address()
929 bytes = _mesa_get_format_bytes(format); in _mesa_decompress_image()
/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/drivers/dri/i965/
Dbrw_surface_formats.c320 int format_size = _mesa_get_format_bytes(format); in brw_init_surface_formats()
501 rb->NumSamples > 0 && _mesa_get_format_bytes(format) > 8) { in brw_render_target_supported()
Dintel_copy_image.c51 cpp = _mesa_get_format_bytes(src_mt->format); in copy_image_with_memcpy()
Dbrw_wm_surface_state.c692 int texel_size = _mesa_get_format_bytes(format); in brw_update_buffer_texture_surface()
1631 param->size[0] = size / _mesa_get_format_bytes(u->_ActualFormat); in update_buffer_image_param()
1632 param->stride[0] = _mesa_get_format_bytes(u->_ActualFormat); in update_buffer_image_param()
1718 _mesa_get_format_bytes(u->_ActualFormat)); in update_image_surface()
/external/mesa3d/src/mesa/main/tests/
Dmesa_formats.cpp95 GLint bytes = _mesa_get_format_bytes(f); in TEST()
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_screen.c314 cpp = _mesa_get_format_bytes(image->format); in intel_create_image_from_name()
452 cpp = _mesa_get_format_bytes(image->format); in intel_create_image()
669 image->region->cpp = _mesa_get_format_bytes(image->format); in intel_from_planar()

123