/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/ |
D | RenderTarget11.cpp | 25 bool GetTextureProperties(ID3D11Resource *resource, unsigned int *mipLevels, unsigned int *samples) in GetTextureProperties() argument 34 *mipLevels = texDesc.MipLevels; in GetTextureProperties() 47 *mipLevels = texDesc.MipLevels; in GetTextureProperties() 60 *mipLevels = texDesc.MipLevels; in GetTextureProperties() 124 unsigned int mipLevels, samples; in GetRTVSubresourceIndex() local 125 GetTextureProperties(resource, &mipLevels, &samples); in GetRTVSubresourceIndex() 127 return D3D11CalcSubresource(mipSlice, arraySlice, mipLevels); in GetRTVSubresourceIndex() 179 unsigned int mipLevels, samples; in GetDSVSubresourceIndex() local 180 GetTextureProperties(resource, &mipLevels, &samples); in GetDSVSubresourceIndex() 182 return D3D11CalcSubresource(mipSlice, arraySlice, mipLevels); in GetDSVSubresourceIndex()
|
D | TextureStorage11.cpp | 36 : baseLevel(0), mipLevels(0), swizzle(false), dropStencil(false) in SamplerKey() 40 int mipLevels, in SamplerKey() argument 43 : baseLevel(baseLevel), mipLevels(mipLevels), swizzle(swizzle), dropStencil(dropStencil) in SamplerKey() 48 return std::tie(baseLevel, mipLevels, swizzle, dropStencil) < in operator <() 49 std::tie(rhs.baseLevel, rhs.mipLevels, rhs.swizzle, rhs.dropStencil); in operator <() 229 unsigned int mipLevels = in getSRVForSampler() local 234 mipLevels = std::min(mipLevels, mMipLevels - mTopLevel - effectiveBaseLevel); in getSRVForSampler() 239 ASSERT(mipLevels == 1 || mipLevels == mMipLevels); in getSRVForSampler() 245 ANGLE_TRY(useLevelZeroWorkaroundTexture(context, mipLevels == 1)); in getSRVForSampler() 260 const int effectiveTopLevel = effectiveBaseLevel + mipLevels - 1; in getSRVForSampler() [all …]
|
D | TextureStorage11.h | 183 int mipLevels, 236 SamplerKey(int baseLevel, int mipLevels, bool swizzle, bool dropStencil); 241 int mipLevels; member 333 angle::Result ensureTextureExists(const gl::Context *context, int mipLevels); 340 int mipLevels, 425 int mipLevels, 526 int mipLevels, 595 angle::Result ensureTextureExists(const gl::Context *context, int mipLevels); 602 int mipLevels, 683 int mipLevels, [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sparse_resources/ |
D | vktSparseResourcesImageMemoryAliasing.cpp | 272 …imageSparseInfo.mipLevels = getMipmapCount(m_format, formatDescription, imageFormatProperties, ima… in iterate() 357 …_FORMAT_SINGLE_MIPTAIL_BIT) && aspectRequirements.imageMipTailFirstLod < imageSparseInfo.mipLevels) in iterate() 375 …_FORMAT_SINGLE_MIPTAIL_BIT) && aspectRequirements.imageMipTailFirstLod < imageSparseInfo.mipLevels) in iterate() 453 std::vector<std::vector<deUint32>> planeOffsets( imageSparseInfo.mipLevels ); in iterate() 454 std::vector<std::vector<deUint32>> planeRowPitches( imageSparseInfo.mipLevels ); in iterate() 456 for (deUint32 mipmapNdx = 0; mipmapNdx < imageSparseInfo.mipLevels; ++mipmapNdx) in iterate() 464 for (deUint32 mipmapNdx = 0; mipmapNdx < imageSparseInfo.mipLevels; ++mipmapNdx) in iterate() 474 …ector <VkBufferImageCopy> bufferImageCopy(formatDescription.numPlanes * imageSparseInfo.mipLevels); in iterate() 482 for (deUint32 mipmapNdx = 0; mipmapNdx < imageSparseInfo.mipLevels; ++mipmapNdx) in iterate() 484 bufferImageCopy[planeNdx*imageSparseInfo.mipLevels + mipmapNdx] = in iterate() [all …]
|
D | vktSparseResourcesShaderIntrinsicsStorage.cpp | 401 pipelines.resize(imageSparseInfo.mipLevels); in recordCommands() 402 descriptorSets.resize(imageSparseInfo.mipLevels); in recordCommands() 403 imageSparseViews.resize(imageSparseInfo.mipLevels); in recordCommands() 404 imageTexelsViews.resize(imageSparseInfo.mipLevels); in recordCommands() 405 imageResidencyViews.resize(imageSparseInfo.mipLevels); in recordCommands() 422 descriptorPoolBuilder.addType(imageSparseDescType(), imageSparseInfo.mipLevels); in recordCommands() 423 descriptorPoolBuilder.addType(VK_DESCRIPTOR_TYPE_STORAGE_IMAGE, imageSparseInfo.mipLevels); in recordCommands() 424 descriptorPoolBuilder.addType(VK_DESCRIPTOR_TYPE_STORAGE_IMAGE, imageSparseInfo.mipLevels); in recordCommands() 426 …erface, getDevice(), VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT, imageSparseInfo.mipLevels); in recordCommands() 428 …akeImageSubresourceRange(VK_IMAGE_ASPECT_COLOR_BIT, 0u, imageSparseInfo.mipLevels, 0u, imageSparse… in recordCommands() [all …]
|
D | vktSparseResourcesShaderIntrinsicsBase.cpp | 487 …imageSparseInfo.mipLevels = getMipmapCount(m_format, formatDescription, imageFormatProperties, ima… in iterate() 517 for (deUint32 mipmapNdx = 0; mipmapNdx < imageSparseInfo.mipLevels; ++mipmapNdx) in iterate() 599 if (aspectRequirements.imageMipTailFirstLod < imageSparseInfo.mipLevels) in iterate() 700 imageTexelsInfo.mipLevels = imageSparseInfo.mipLevels; in iterate() 752 …<VkBufferImageCopy> bufferImageSparseCopy(formatDescription.numPlanes * imageSparseInfo.mipLevels); in iterate() 760 for (deUint32 mipmapNdx = 0; mipmapNdx < imageSparseInfo.mipLevels; ++mipmapNdx) in iterate() 762 bufferImageSparseCopy[planeNdx*imageSparseInfo.mipLevels + mipmapNdx] = in iterate() 793 for (deUint32 mipmapNdx = 0u; mipmapNdx < imageSparseInfo.mipLevels; ++mipmapNdx) in iterate() 848 … makeImageSubresourceRange(aspect, 0u, imageSparseInfo.mipLevels, 0u, imageSparseInfo.arrayLayers), in iterate() 868 …extent, imageSparseInfo.arrayLayers, m_residencyFormat, imageSparseInfo.mipLevels, BUFFER_IMAGE_CO… in iterate() [all …]
|
D | vktSparseResourcesShaderIntrinsicsSampled.cpp | 693 …descriptorPoolBuilder.addType(VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, imageSparseInfo.mipLevels… in recordCommands() 695 …erface, getDevice(), VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT, imageSparseInfo.mipLevels); in recordCommands() 768 …akeImageSubresourceRange(VK_IMAGE_ASPECT_COLOR_BIT, 0u, imageSparseInfo.mipLevels, 0u, imageSparse… in recordCommands() 805 imageSparseViews.resize(imageSparseInfo.mipLevels); in recordCommands() 806 imageTexelsViews.resize(imageSparseInfo.mipLevels); in recordCommands() 807 imageResidencyViews.resize(imageSparseInfo.mipLevels); in recordCommands() 808 m_framebuffers.resize(imageSparseInfo.mipLevels); in recordCommands() 809 descriptorSets.resize(imageSparseInfo.mipLevels); in recordCommands() 815 for (deUint32 mipLevelNdx = 0u; mipLevelNdx < imageSparseInfo.mipLevels; ++mipLevelNdx) in recordCommands() 899 …akeImageSubresourceRange(VK_IMAGE_ASPECT_COLOR_BIT, 0u, imageSparseInfo.mipLevels, 0u, imageSparse… in recordCommands() [all …]
|
D | vktSparseResourcesMipmapSparseResidency.cpp | 215 …imageSparseInfo.mipLevels = getMipmapCount(m_format, formatDescription, imageFormatProperties, ima… in iterate() 295 …_FORMAT_SINGLE_MIPTAIL_BIT) && aspectRequirements.imageMipTailFirstLod < imageSparseInfo.mipLevels) in iterate() 324 …_FORMAT_SINGLE_MIPTAIL_BIT) && aspectRequirements.imageMipTailFirstLod < imageSparseInfo.mipLevels) in iterate() 406 for (deUint32 mipmapNdx = 0; mipmapNdx < imageSparseInfo.mipLevels; ++mipmapNdx) in iterate() 409 …:vector <VkBufferImageCopy> bufferImageCopy(formatDescription.numPlanes*imageSparseInfo.mipLevels); in iterate() 417 for (deUint32 mipmapNdx = 0; mipmapNdx < imageSparseInfo.mipLevels; ++mipmapNdx) in iterate() 419 bufferImageCopy[planeNdx*imageSparseInfo.mipLevels + mipmapNdx] = in iterate() 483 … makeImageSubresourceRange(aspect, 0u, imageSparseInfo.mipLevels, 0u, imageSparseInfo.arrayLayers), in iterate() 507 … makeImageSubresourceRange(aspect, 0u, imageSparseInfo.mipLevels, 0u, imageSparseInfo.arrayLayers) in iterate() 552 for (deUint32 mipmapNdx = 0; mipmapNdx < imageSparseInfo.mipLevels; ++mipmapNdx) in iterate() [all …]
|
D | vktSparseResourcesImageSparseBinding.cpp | 207 …imageSparseInfo.mipLevels = getMipmapCount(m_format, formatDescription, imageFormatProperties, ima… in iterate() 289 for (deUint32 mipmapNdx = 0; mipmapNdx < imageSparseInfo.mipLevels; ++mipmapNdx) in iterate() 292 …vector<VkBufferImageCopy> bufferImageCopy(formatDescription.numPlanes * imageSparseInfo.mipLevels); in iterate() 299 for (deUint32 mipmapNdx = 0; mipmapNdx < imageSparseInfo.mipLevels; ++mipmapNdx) in iterate() 301 bufferImageCopy[planeNdx*imageSparseInfo.mipLevels + mipmapNdx] = in iterate() 359 … makeImageSubresourceRange(aspect, 0u, imageSparseInfo.mipLevels, 0u, imageSparseInfo.arrayLayers), in iterate() 382 … makeImageSubresourceRange(aspect, 0u, imageSparseInfo.mipLevels, 0u, imageSparseInfo.arrayLayers) in iterate() 429 for (deUint32 mipmapNdx = 0; mipmapNdx < imageSparseInfo.mipLevels; ++mipmapNdx) in iterate() 432 …t = static_cast<deUint32>(bufferImageCopy[ planeNdx * imageSparseInfo.mipLevels + mipmapNdx].buf… in iterate()
|
/third_party/mesa3d/src/gallium/drivers/d3d12/ |
D | d3d12_util.h | 101 UINT16 mipLevels, in CD3DX12_RESOURCE_DESC() 113 MipLevels = mipLevels; in CD3DX12_RESOURCE_DESC() 139 UINT16 mipLevels = 0, 145 mipLevels, format, 1, 0, layout, flags ); 152 UINT16 mipLevels = 0, 160 mipLevels, format, sampleCount, sampleQuality, layout, flags ); 167 UINT16 mipLevels = 0, 173 mipLevels, format, 1, 0, layout, flags );
|
/third_party/skia/src/gpu/mtl/ |
D | GrMtlAttachment.mm | 54 /*mipLevels=*/1, textureUsage, storageMode, SkBudgeted::kYes); 68 /*mipLevels=*/1, textureUsage, storageMode, SkBudgeted::kYes); 74 uint32_t mipLevels, 92 return GrMtlAttachment::Make(gpu, dimensions, usageFlags, numSamples, format, mipLevels, 101 uint32_t mipLevels, 111 desc.mipmapLevelCount = mipLevels;
|
D | GrMtlTexture.h | 23 uint32_t mipLevels, 43 bool reallocForMipmap(GrMtlGpu* gpu, uint32_t mipLevels);
|
D | GrMtlAttachment.h | 33 uint32_t mipLevels, 68 uint32_t mipLevels,
|
D | GrMtlTexture.mm | 81 uint32_t mipLevels, 84 gpu, dimensions, format, mipLevels, GrRenderable::kNo, /*numSamples=*/1, budgeted);
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/ |
D | vktShaderRender.cpp | 983 deUint32 mipLevels, in uploadImage() argument 1081 …ueueFamilyIndex, *buffer, bufferSize, copyRegions, DE_NULL, aspectMask, mipLevels, arrayLayers, de… in uploadImage() 1085 deUint32 mipLevels, in clearImage() argument 1121 mipLevels, // deUint32 mipLevels; in clearImage() 1141 mipLevels, // deUint32 mipLevels; in clearImage() 1151 mipLevels, // deUint32 levelCount; in clearImage() 1245 const deUint32 mipLevels, in uploadSparseImage() argument 1350 …fer, bufferSize, copyRegions, &(*imageMemoryBindSemaphore), aspectMask, mipLevels, arrayLayers, sp… in uploadSparseImage() 1362 deUint32 mipLevels = 1u; in useSampler() local 1374 mipLevels = isMSTexture ? 1u : (deUint32)texture.getNumLevels(); in useSampler() [all …]
|
D | vktShaderRender.hpp | 561 deUint32 mipLevels, 566 deUint32 mipLevels, 575 const deUint32 mipLevels, 588 deUint32 mipLevels,
|
/third_party/skia/src/gpu/vk/ |
D | GrVkTexture.cpp | 35 SkASSERT((GrMipmapStatus::kNotAllocated == mipmapStatus) == (1 == fTexture->mipLevels())); in GrVkTexture() 54 SkASSERT((GrMipmapStatus::kNotAllocated == mipmapStatus) == (1 == fTexture->mipLevels())); in GrVkTexture() 72 SkASSERT((GrMipmapStatus::kNotAllocated == mipmapStatus) == (1 == fTexture->mipLevels())); in GrVkTexture() 81 VkFormat format, uint32_t mipLevels, in MakeNewTexture() argument 85 gpu, dimensions, format, mipLevels, GrRenderable::kNo, /*numSamples=*/1, budgeted, in MakeNewTexture()
|
D | GrVkImage.h | 48 uint32_t mipLevels, 89 uint32_t mipLevels() const { return fInfo.fLevelCount; } in mipLevels() function 219 uint32_t mipLevels,
|
D | GrVkTextureRenderTarget.cpp | 80 uint32_t mipLevels, in MakeNewTextureRenderTarget() argument 87 mipLevels, in MakeNewTextureRenderTarget()
|
/third_party/skia/src/gpu/dawn/ |
D | GrDawnTexture.cpp | 25 SkBudgeted budgeted, int mipLevels, in Make() argument 41 textureDesc.mipLevelCount = std::max(mipLevels, 1); in Make() 53 info.fLevelCount = mipLevels; in Make()
|
D | GrDawnTexture.h | 20 SkBudgeted, int mipLevels, GrMipmapStatus);
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/ |
D | vktImageSubresourceLayoutTests.cpp | 182 deUint32 mipLevels; member 238 …rLevels levels (m_params.imageType, m_params.imageFormat, m_params.dimensions, m_params.mipLevels); in checkSupport() 386 …s (m_params.imageType, m_params.imageFormat, m_params.dimensions, m_params.mipLevels, imageAspect); in iterateAspect() 658 } mipLevels[] = in createImageSubresourceLayoutTests() local 813 for (int mipIdx = 0; mipIdx < DE_LENGTH_OF_ARRAY(mipLevels); ++mipIdx) in createImageSubresourceLayoutTests() 815 const auto &mipLevel = mipLevels[mipIdx]; in createImageSubresourceLayoutTests() 829 params.mipLevels = mipLevel.maxLevels; in createImageSubresourceLayoutTests()
|
/third_party/skia/tools/ |
D | DDLPromiseImageHelper.cpp | 65 std::unique_ptr<SkMipmap> mipLevels) { in setMipLevels() argument 67 fMipLevels = std::move(mipLevels); in setMipLevels() 171 std::unique_ptr<SkPixmap[]> mipLevels = info->normalMipLevels(); in CreateBETexturesForPromiseImage() local 177 auto backendTex = direct->createBackendTexture(mipLevels.get(), in CreateBETexturesForPromiseImage()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineMultisampleBaseResolve.cpp | 85 imageMSInfo.mipLevels = 1u; in iterate() 182 … = makeImageSubresourceRange(VK_IMAGE_ASPECT_COLOR_BIT, 0u, imageMSInfo.mipLevels, 0u, imageMSInfo… in iterate() 375 …mageSizeInBytes(imageRSInfo.extent, imageRSInfo.arrayLayers, m_imageFormat, imageRSInfo.mipLevels); in iterate()
|
/third_party/skia/src/gpu/d3d/ |
D | GrD3DCpuDescriptorManager.cpp | 55 unsigned int mostDetailedMip, unsigned int mipLevels) { in createShaderResourceView() argument 64 desc.Texture2D.MipLevels = mipLevels; in createShaderResourceView()
|