Searched refs:bytesPerSlice (Results 1 – 2 of 2) sorted by relevance
93 GLuint bytesPerSlice; in _swrast_alloc_texture_image_buffer() local100 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()
476 UINT_64 bytesPerSlice; in ComputeSurfaceInfoMacroTiled() local637 bytesPerSlice = BITS_TO_BYTES(static_cast<UINT_64>(paddedPitch) * in ComputeSurfaceInfoMacroTiled()640 pOut->surfSize = bytesPerSlice * expNumSlices; in ComputeSurfaceInfoMacroTiled()1092 UINT_64 bytesPerSlice; in ComputeSurfaceMipLevelTileMode() local1102 bytesPerSlice = BITS_TO_BYTES(static_cast<UINT_64>(pitch) * height * bpp * numSamples); in ComputeSurfaceMipLevelTileMode()