/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/ |
D | vktImageTexture.cpp | 104 static inline deUint32 minify (deUint32 value, deUint32 mipmapLevel) in minify() argument 106 return deMax32(value >> mipmapLevel, 1); in minify() 109 tcu::IVec3 Texture::layerSize (const int mipmapLevel) const in layerSize() 113 DE_ASSERT(mipmapLevel < numMipmapLevels()); in layerSize() 115 if (mipmapLevel == 0) in layerSize() 121 size.z() = minify(size.z(), mipmapLevel); in layerSize() 127 size.y() = minify(size.y(), mipmapLevel); in layerSize() 131 size.x() = minify(size.x(), mipmapLevel); in layerSize() 139 tcu::IVec3 Texture::size (const int mipmapLevel) const in size() 142 tcu::IVec3 size = layerSize(mipmapLevel); in size()
|
D | vktImageLoadStoreTests.cpp | 114 …LevelImageSizeBytes (const Texture& texture, const vk::VkFormat format, const deUint32 mipmapLevel) in getMipmapLevelImageSizeBytes() argument 116 tcu::IVec3 size = texture.size(mipmapLevel); in getMipmapLevelImageSizeBytes() 140 const deUint32 mipmapLevel = 0u) in comparePixelBuffers() argument 146 const int numLayersOrSlices = (is3d ? texture.size(mipmapLevel).z() : texture.numLayers()); in comparePixelBuffers() 155 …:toString(layerNdx) : "layer " + de::toString(layerNdx) + " , level " + de::toString(mipmapLevel)); in comparePixelBuffers()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sparse_resources/ |
D | vktSparseResourcesTestsUtil.cpp | 302 const deUint32 mipmapLevel, in makeBufferImageCopy() argument 310 …makeImageSubresourceLayers(VK_IMAGE_ASPECT_COLOR_BIT, mipmapLevel, 0u, layerCount), // VkImageSubr… in makeBufferImageCopy() 826 …deUint32 layersCount, const tcu::TextureFormat& format, const deUint32 mipmapLevel, const deUint32… in getImageMipLevelSizeInBytes() argument 828 const VkExtent3D extents = mipLevelExtents(baseExtents, mipmapLevel); in getImageMipLevelSizeInBytes() 836 for (deUint32 mipmapLevel = 0; mipmapLevel < mipmapLevelsCount; ++mipmapLevel) in getImageSizeInBytes() local 837 …imageSizeInBytes += getImageMipLevelSizeInBytes(baseExtents, layersCount, format, mipmapLevel, mip… in getImageSizeInBytes() 842 …escription& formatDescription, const deUint32 planeNdx, const deUint32 mipmapLevel, const deUint32… in getImageMipLevelSizeInBytes() argument 844 …return layersCount * getPlaneSizeInBytes(formatDescription, baseExtents, planeNdx, mipmapLevel, mi… in getImageMipLevelSizeInBytes() 851 for (deUint32 mipmapLevel = 0; mipmapLevel < mipmapLevelsCount; ++mipmapLevel) in getImageSizeInBytes() local 852 …evelSizeInBytes(baseExtents, layersCount, formatDescription, planeNdx, mipmapLevel, mipmapMemoryAl… in getImageSizeInBytes()
|
D | vktSparseResourcesTestsUtil.hpp | 148 const deUint32 mipmapLevel, 161 const deUint32 mipmapLevel, 179 const deUint32 mipmapLevel = 0u,
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineMultisampleTestsUtil.cpp | 363 …deUint32 layersCount, const tcu::TextureFormat& format, const deUint32 mipmapLevel, const deUint32… in getImageMipLevelSizeInBytes() argument 365 const VkExtent3D extents = mipLevelExtents(baseExtents, mipmapLevel); in getImageMipLevelSizeInBytes() 373 for (deUint32 mipmapLevel = 0; mipmapLevel < mipmapLevelsCount; ++mipmapLevel) in getImageSizeInBytes() local 375 …imageSizeInBytes += getImageMipLevelSizeInBytes(baseExtents, layersCount, format, mipmapLevel, num… in getImageSizeInBytes()
|
D | vktPipelineMultisampleTestsUtil.hpp | 76 …deUint32 layersCount, const tcu::TextureFormat& format, const deUint32 mipmapLevel, const deUint32…
|
/third_party/skia/third_party/externals/dawn/src/utils/ |
D | TestUtils.cpp | 37 uint32_t mipmapLevel, in GetTextureDataCopyLayoutForTextureAtLevel() argument 45 layout.mipSize = {std::max(textureSizeAtLevel0.width >> mipmapLevel, 1u), in GetTextureDataCopyLayoutForTextureAtLevel() 46 std::max(textureSizeAtLevel0.height >> mipmapLevel, 1u), in GetTextureDataCopyLayoutForTextureAtLevel() 51 std::max(textureSizeAtLevel0.depthOrArrayLayers >> mipmapLevel, 1u); in GetTextureDataCopyLayoutForTextureAtLevel()
|
D | TestUtils.h | 37 uint32_t mipmapLevel,
|
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libEGL/ |
D | Surface.cpp | 147 void Surface::setMipmapLevel(EGLint mipmapLevel) in setMipmapLevel() argument 149 this->mipmapLevel = mipmapLevel; in setMipmapLevel() 196 return mipmapLevel; in getMipmapLevel()
|
D | Surface.hpp | 43 void setMipmapLevel(EGLint mipmapLevel); 95 EGLint mipmapLevel = 0; // Mipmap level to render to member in egl::Surface
|
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/ |
D | vkImageUtil.hpp | 149 const deUint32 mipmapLevel, 154 const deUint32 mipmapLevel, 159 const deUint32 mipmapLevel); 163 const deUint32 mipmapLevel);
|
D | vkImageUtil.cpp | 2519 const deUint32 mipmapLevel, in getPlaneSizeInBytes() argument 2522 VkExtent3D imageExtent = getPlaneExtent(formatInfo, baseExtents, planeNdx, mipmapLevel); in getPlaneSizeInBytes() 2531 const deUint32 mipmapLevel, in getPlaneSizeInBytes() argument 2534 …tcu::UVec2 mipExtents = getPlaneExtent(formatInfo, baseExtents, planeNdx, mipmapLevel) / tcu::UVec… in getPlaneSizeInBytes() 2541 const deUint32 mipmapLevel) in getPlaneExtent() argument 2548 return mipLevelExtents(mip0Extents, mipmapLevel); in getPlaneExtent() 2554 const deUint32 mipmapLevel) in getPlaneExtent() argument 2562 std::max(mip0Extents.x() >> mipmapLevel, 1u), in getPlaneExtent() 2563 std::max(mip0Extents.y() >> mipmapLevel, 1u) in getPlaneExtent()
|
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/ |
D | VkDescriptorSetLayout.cpp | 410 for(int mipmapLevel = 0; mipmapLevel < sw::MIPMAP_LEVELS; mipmapLevel++) in WriteDescriptorSet() local 412 …int level = sw::clamp(mipmapLevel, 0, (int)subresourceRange.levelCount - 1); // Level within the … in WriteDescriptorSet() 415 sw::Mipmap &mipmap = texture->mipmap[mipmapLevel]; in WriteDescriptorSet() 443 …WriteTextureLevelInfo(texture, mipmapLevel, width, height, depth, pitchP, sliceP, samplePitchP, sa… in WriteDescriptorSet()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/ |
D | mtl_resources.mm | 531 const MipmapNativeLevel &mipmapLevel, 537 replaceRegion(context, region, mipmapLevel, slice, data, bytesPerRow, 0); 542 const MipmapNativeLevel &mipmapLevel, 548 if (mipmapLevel.get() >= this->mipmapLevels()) 573 mipmapLevel:mipmapLevel.get() 584 const MipmapNativeLevel &mipmapLevel, 606 mipmapLevel:mipmapLevel.get()
|
D | mtl_resources.h | 185 const MipmapNativeLevel &mipmapLevel, 192 const MipmapNativeLevel &mipmapLevel, 202 const MipmapNativeLevel &mipmapLevel,
|
D | TextureMtl.mm | 358 const mtl::MipmapNativeLevel &mipmapLevel, 386 region.size, texture, slice, mipmapLevel, region.origin, 397 const mtl::MipmapNativeLevel &mipmapLevel, 458 mipmapLevel, region.origin, MTLBlitOptionDepthFromDepthStencil); 461 mipmapLevel, region.origin, MTLBlitOptionStencilFromDepthStencil); 470 const mtl::MipmapNativeLevel &mipmapLevel, 514 region.size, texture, slice, mipmapLevel, region.origin, 0); 523 const mtl::MipmapNativeLevel &mipmapLevel, 537 mipmapLevel, slice, data, bytesPerRow, 545 texture->replaceRegion(contextMtl, region, mipmapLevel, slice, data, bytesPerRow, [all …]
|
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/ |
D | Context.cpp | 3272 for(int mipmapLevel = 0; mipmapLevel < sw::MIPMAP_LEVELS; mipmapLevel++) in applyTexture() local 3274 int surfaceLevel = mipmapLevel + baseLevel; in applyTexture() 3282 device->setTextureLevel(sampler, 0, mipmapLevel, surface, in applyTexture() 3291 for(int mipmapLevel = 0; mipmapLevel < sw::MIPMAP_LEVELS; mipmapLevel++) in applyTexture() local 3293 int surfaceLevel = mipmapLevel + baseLevel; in applyTexture() 3301 device->setTextureLevel(sampler, 0, mipmapLevel, surface, sw::TEXTURE_3D); in applyTexture() 3309 for(int mipmapLevel = 0; mipmapLevel < sw::MIPMAP_LEVELS; mipmapLevel++) in applyTexture() local 3311 int surfaceLevel = mipmapLevel + baseLevel; in applyTexture() 3319 device->setTextureLevel(sampler, 0, mipmapLevel, surface, sw::TEXTURE_2D_ARRAY); in applyTexture() 3327 for(int mipmapLevel = 0; mipmapLevel < sw::MIPMAP_LEVELS; mipmapLevel++) in applyTexture() local [all …]
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fFboStateQueryTests.cpp | 291 for (int mipmapLevel = 0; mipmapLevel < 7; ++mipmapLevel) in test() local 299 …lFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, textureID, mipmapLevel); in test() 302 …hmentParam(m_testCtx, *this, GL_FRAMEBUFFER, GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL, mipmapLevel); in test()
|
/third_party/flutter/skia/third_party/externals/dawn/src/tests/end2end/ |
D | MultisampledRenderingTests.cpp | 154 uint32_t mipmapLevel = 0, in VerifyResolveTarget() argument 169 mipmapLevel, arrayLayer); in VerifyResolveTarget()
|
/third_party/skia/third_party/externals/swiftshader/src/WSI/ |
D | MetalSurface.mm | 178 mipmapLevel:0
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | ImageTestMetal.mm | 280 mipmapLevel:0
|
/third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
D | MultisampledRenderingTests.cpp | 184 uint32_t mipmapLevel = 0, in VerifyResolveTarget() argument 193 mipmapLevel); in VerifyResolveTarget()
|
/third_party/flutter/skia/third_party/externals/imgui/examples/ |
D | imgui_impl_metal.mm | 236 …[texture replaceRegion:MTLRegionMake2D(0, 0, width, height) mipmapLevel:0 withBytes:pixels bytesPe…
|
/third_party/skia/third_party/externals/imgui/backends/ |
D | imgui_impl_metal.mm | 252 …[texture replaceRegion:MTLRegionMake2D(0, 0, (NSUInteger)width, (NSUInteger)height) mipmapLevel:0 …
|