Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/swrast/
Ds_texture.c93 GLuint bytesPerSlice; in _swrast_alloc_texture_image_buffer() local
100 bytesPerSlice = _mesa_format_image_size(texImage->TexFormat, texImage->Width, in _swrast_alloc_texture_image_buffer()
104 swImg->Buffer = align_malloc(bytesPerSlice * slices, 512); in _swrast_alloc_texture_image_buffer()
113 swImg->ImageSlices[i] = swImg->Buffer + bytesPerSlice * i; in _swrast_alloc_texture_image_buffer()
/external/mesa3d/src/amd/addrlib/src/r800/
Degbaddrlib.cpp476 UINT_64 bytesPerSlice; in ComputeSurfaceInfoMacroTiled() local
637 bytesPerSlice = BITS_TO_BYTES(static_cast<UINT_64>(paddedPitch) * in ComputeSurfaceInfoMacroTiled()
640 pOut->surfSize = bytesPerSlice * expNumSlices; in ComputeSurfaceInfoMacroTiled()
1092 UINT_64 bytesPerSlice; in ComputeSurfaceMipLevelTileMode() local
1102 bytesPerSlice = BITS_TO_BYTES(static_cast<UINT_64>(pitch) * height * bpp * numSamples); in ComputeSurfaceMipLevelTileMode()