Home
last modified time | relevance | path

Searched refs:bytesPerSlice (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/mesa/swrast/
Ds_texture.c91 GLuint bytesPerSlice; in _swrast_alloc_texture_image_buffer() local
98 bytesPerSlice = _mesa_format_image_size(texImage->TexFormat, texImage->Width, in _swrast_alloc_texture_image_buffer()
102 swImg->Buffer = _mesa_align_malloc(bytesPerSlice * slices, 512); in _swrast_alloc_texture_image_buffer()
111 swImg->ImageSlices[i] = swImg->Buffer + bytesPerSlice * i; in _swrast_alloc_texture_image_buffer()
/external/mesa3d/src/amd/addrlib/r800/
Degbaddrlib.cpp431 UINT_64 bytesPerSlice; in ComputeSurfaceInfoMacroTiled() local
551 bytesPerSlice = BITS_TO_BYTES(static_cast<UINT_64>(paddedPitch) * in ComputeSurfaceInfoMacroTiled()
568 pOut->surfSize = bytesPerSlice * expNumSlices; in ComputeSurfaceInfoMacroTiled()