/external/mesa3d/src/amd/addrlib/src/gfx10/ |
D | gfx10addrlib.cpp | 199 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 …]
|
D | gfx10addrlib.h | 531 UINT_32 mipWidth, in IsInMipTail() argument 535 BOOL_32 inTail = ((mipWidth <= mipTailDim.w) && in IsInMipTail()
|
/external/mesa3d/src/amd/addrlib/src/gfx9/ |
D | gfx9addrlib.cpp | 452 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/ |
D | ResourceManager11.cpp | 41 unsigned int mipWidth = std::max(width >> level, 1u); in ComputeMippedMemoryUsage() local 44 sizeSum += static_cast<uint64_t>(mipWidth * mipHeight * mipDepth) * pixelSize; in ComputeMippedMemoryUsage()
|
D | renderer11_utils.cpp | 2180 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/ |
D | TextureStorage9.cpp | 200 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/ |
D | generatemip.inc | 257 size_t mipWidth = std::max<size_t>(1, sourceWidth >> 1); 265 mipWidth, mipHeight, mipDepth, destData, destRowPitch, destDepthPitch);
|
/external/angle/src/libANGLE/renderer/vulkan/ |
D | TextureVk.cpp | 1758 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()
|
D | vk_helpers.cpp | 2530 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()
|