Home
last modified time | relevance | path

Searched refs:texel_size (Results 1 – 4 of 4) sorted by relevance

/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_texture.c225 GLuint texel_size = _mesa_get_format_bytes(texImage->TexFormat); in radeon_map_texture_image() local
235 texel_size /= bw; in radeon_map_texture_image()
268 *map += y * *stride + x * texel_size; in radeon_map_texture_image()
711 GLuint texel_size; in radeon_swrast_map_image() local
718 texel_size = _mesa_get_format_bytes(image->base.Base.TexFormat); in radeon_swrast_map_image()
725 rs = lvl->rowstride / texel_size; in radeon_swrast_map_image()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_texture.c225 GLuint texel_size = _mesa_get_format_bytes(texImage->TexFormat); in radeon_map_texture_image() local
235 texel_size /= bw; in radeon_map_texture_image()
268 *map += y * *stride + x * texel_size; in radeon_map_texture_image()
711 GLuint texel_size; in radeon_swrast_map_image() local
718 texel_size = _mesa_get_format_bytes(image->base.Base.TexFormat); in radeon_swrast_map_image()
725 rs = lvl->rowstride / texel_size; in radeon_swrast_map_image()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dgen7_wm_surface_state.c244 int texel_size = _mesa_get_format_bytes(format); in gen7_update_buffer_texture_surface() local
273 int w = intel_obj->Base.Size / texel_size; in gen7_update_buffer_texture_surface()
277 surf->ss3.pitch = texel_size - 1; in gen7_update_buffer_texture_surface()
Dbrw_wm_surface_state.c727 int texel_size = _mesa_get_format_bytes(format); in brw_update_buffer_texture_surface() local
751 int w = intel_obj->Base.Size / texel_size; in brw_update_buffer_texture_surface()
755 (texel_size - 1) << BRW_SURFACE_PITCH_SHIFT); in brw_update_buffer_texture_surface()