Home
last modified time | relevance | path

Searched refs:mipWidth (Results 1 – 9 of 9) sorted by relevance

/external/mesa3d/src/amd/addrlib/src/gfx10/
Dgfx10addrlib.cpp199 UINT_32 mipWidth, mipHeight; in HwlComputeHtileInfo() local
201 GetMipSize(pIn->unalignedWidth, pIn->unalignedHeight, 1, i, &mipWidth, &mipHeight); in HwlComputeHtileInfo()
203 mipWidth = PowTwoAlign(mipWidth, metaBlk.w); in HwlComputeHtileInfo()
206 const UINT_32 pitchInM = mipWidth / metaBlk.w; in HwlComputeHtileInfo()
310 UINT_32 mipWidth, mipHeight; in HwlComputeCmaskInfo() local
312 GetMipSize(pIn->unalignedWidth, pIn->unalignedHeight, 1, i, &mipWidth, &mipHeight); in HwlComputeCmaskInfo()
314 mipWidth = PowTwoAlign(mipWidth, metaBlk.w); in HwlComputeCmaskInfo()
317 const UINT_32 pitchInM = mipWidth / metaBlk.w; in HwlComputeCmaskInfo()
442 UINT_32 mipWidth, mipHeight; in HwlComputeDccInfo() local
444 … GetMipSize(pIn->unalignedWidth, pIn->unalignedHeight, 1, i, &mipWidth, &mipHeight); in HwlComputeDccInfo()
[all …]
Dgfx10addrlib.h531 UINT_32 mipWidth, in IsInMipTail() argument
535 BOOL_32 inTail = ((mipWidth <= mipTailDim.w) && in IsInMipTail()
/external/mesa3d/src/amd/addrlib/src/gfx9/
Dgfx9addrlib.cpp452 UINT_32 mipWidth = mip0Width; in GetMetaMipInfo() local
467 mipWidth = PowTwoAlign(mipWidth, pMetaBlkDim->w); in GetMetaMipInfo()
475 pInfo[mip].width = mipWidth; in GetMetaMipInfo()
484 mipCoord.w += mipWidth; in GetMetaMipInfo()
504 mipCoord.w += mipWidth; in GetMetaMipInfo()
514 mipWidth = Max(mipWidth >> 1, 1u); in GetMetaMipInfo()
518 inTail = ((mipWidth <= tailWidth) && in GetMetaMipInfo()
4370 UINT_32 mipWidth = pMetaBlkDim->w; in GetMetaMiptailInfo() local
4400 pInfo[mip].width = mipWidth; in GetMetaMiptailInfo()
4404 if (mipWidth <= 32) in GetMetaMiptailInfo()
[all …]
/external/angle/src/libANGLE/renderer/d3d/d3d11/
DResourceManager11.cpp41 unsigned int mipWidth = std::max(width >> level, 1u); in ComputeMippedMemoryUsage() local
44 sizeSum += static_cast<uint64_t>(mipWidth * mipHeight * mipDepth) * pixelSize; in ComputeMippedMemoryUsage()
Drenderer11_utils.cpp2180 unsigned int mipWidth = std::max(width >> i, 1U); in GenerateInitialTextureData() local
2183 unsigned int mipRowPitch = dxgiFormatInfo.pixelBytes * mipWidth; in GenerateInitialTextureData()
/external/angle/src/libANGLE/renderer/d3d/d3d9/
DTextureStorage9.cpp200 size_t mipWidth = std::max<size_t>(mTextureWidth >> textureMipLevel, 1u); in getRenderTarget() local
205 baseTexture, textureMipLevel, surface, mInternalFormat, static_cast<GLsizei>(mipWidth), in getRenderTarget()
/external/angle/src/image_util/
Dgeneratemip.inc257 size_t mipWidth = std::max<size_t>(1, sourceWidth >> 1);
265 mipWidth, mipHeight, mipDepth, destData, destRowPitch, destDepthPitch);
/external/angle/src/libANGLE/renderer/vulkan/
DTextureVk.cpp1758 size_t mipWidth = std::max<size_t>(1, previousLevelWidth >> 1); in generateMipmapLevelsWithCPU() local
1764 size_t destRowPitch = mipWidth * sourceFormat.pixelBytes; in generateMipmapLevelsWithCPU()
1768 gl::Extents mipLevelExtents(static_cast<int>(mipWidth), static_cast<int>(mipHeight), in generateMipmapLevelsWithCPU()
1782 previousLevelWidth = mipWidth; in generateMipmapLevelsWithCPU()
Dvk_helpers.cpp2530 int32_t mipWidth = mExtents.width; in generateMipmapsWithBlit() local
2548 int32_t nextMipWidth = std::max<int32_t>(1, mipWidth >> 1); in generateMipmapsWithBlit()
2563 blit.srcOffsets[1] = {mipWidth, mipHeight, mipDepth}; in generateMipmapsWithBlit()
2575 mipWidth = nextMipWidth; in generateMipmapsWithBlit()