Home
last modified time | relevance | path

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

123

/third_party/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.c46 const unsigned blockBytes = _mesa_get_format_bytes(format); in get_aligned_compressed_row_stride()
111 row_align = tileWidth * _mesa_get_format_bytes(format) - 1; in get_texture_image_row_stride()
Dradeon_screen.c242 image->cpp = _mesa_get_format_bytes(image->format); in radeon_create_image_from_name()
342 image->cpp = _mesa_get_format_bytes(image->format); in radeon_create_image()
/third_party/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_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_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_mipmap_tree.c46 const unsigned blockBytes = _mesa_get_format_bytes(format); in get_aligned_compressed_row_stride()
111 row_align = tileWidth * _mesa_get_format_bytes(format) - 1; in get_texture_image_row_stride()
Dradeon_screen.c242 image->cpp = _mesa_get_format_bytes(image->format); in radeon_create_image_from_name()
342 image->cpp = _mesa_get_format_bytes(image->format); in radeon_create_image()
/third_party/mesa3d/src/mesa/swrast/
Ds_clear.c69 uint32_t bytes = _mesa_get_format_bytes(format); in _pack_colormask()
120 const GLuint pixelSize = _mesa_get_format_bytes(rb->Format); in clear_rgba_buffer()
Ds_stencil.c67 GLint bpp = _mesa_get_format_bytes(format); in get_stencil_offset()
311 const GLint bpp = _mesa_get_format_bytes(rb->Format); in get_s8_values()
416 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()
352 const GLint bpp = _mesa_get_format_bytes(rb->Format); in put_z32_values()
373 const GLint bpp = _mesa_get_format_bytes(rb->Format); in _swrast_depth_test_span()
Ds_renderbuffer.c119 bpp = _mesa_get_format_bytes(rb->Format); in soft_renderbuffer_storage()
188 int cpp = _mesa_get_format_bytes(rb->Format); in _swrast_map_soft_renderbuffer()
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()
543 GLuint bpp = _mesa_get_format_bytes(readFormat); in blit_linear()
Ds_texfetch.c76 GLuint texelBytes = _mesa_get_format_bytes(swImage->Base.TexFormat); in fetch_compressed()
Ds_context.h484 const GLint bpp = _mesa_get_format_bytes(rb->Format); in _swrast_pixel_address()
/third_party/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_surface.c40 int ret, cpp = _mesa_get_format_bytes(format); in nouveau_surface_alloc()
/third_party/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_surface_formats.c238 int format_size = _mesa_get_format_bytes(format); in brw_screen_init_surface_formats()
439 rb->NumSamples > 0 && _mesa_get_format_bytes(format) > 8) { in brw_render_target_supported()
Dbrw_wm_surface_state.c657 const unsigned texel_size = _mesa_get_format_bytes(obj->_BufferObjectFormat); in buffer_texture_range_size()
701 int texel_size = _mesa_get_format_bytes(format); in brw_update_buffer_texture_surface()
1522 param->size[0] = size / _mesa_get_format_bytes(u->_ActualFormat); in update_buffer_image_param()
1523 param->stride[0] = _mesa_get_format_bytes(u->_ActualFormat); in update_buffer_image_param()
1540 _mesa_get_format_bytes(u->_ActualFormat)); in update_image_surface()
/third_party/mesa3d/src/mesa/main/
Dtexstore.c115 const GLuint texelBytes = _mesa_get_format_bytes(dstFormat); in _mesa_memcpy_texture()
156 assert(_mesa_get_format_bytes(dstFormat) == sizeof(GLuint)); in _mesa_texstore_z32()
255 assert(_mesa_get_format_bytes(dstFormat) == sizeof(GLushort)); in _mesa_texstore_z16()
287 assert(_mesa_get_format_bytes(dstFormat) == 2); in _mesa_texstore_ycbcr()
1192 clearValueSize = _mesa_get_format_bytes(texImage->TexFormat); in _mesa_store_cleartexsubimage()
Dshaderimage.c500 if (_mesa_get_format_bytes(tex_format) != in _mesa_is_image_unit_valid()
501 _mesa_get_format_bytes(u->_ActualFormat)) in _mesa_is_image_unit_valid()
Dtexcompress.c890 const GLuint blockSize = _mesa_get_format_bytes(mesaFormat); in _mesa_compressed_image_address()
946 bytes = _mesa_get_format_bytes(format); in _mesa_decompress_image()
/third_party/mesa3d/src/mesa/main/tests/
Dmesa_formats.cpp96 GLint bytes = _mesa_get_format_bytes(f); in TEST()
/third_party/mesa3d/src/mesa/drivers/dri/i915/
Dintel_screen.c334 cpp = _mesa_get_format_bytes(image->format); in intel_create_image_from_name()
472 cpp = _mesa_get_format_bytes(image->format); in intel_create_image()
692 image->region->cpp = _mesa_get_format_bytes(image->format); in intel_from_planar()

123