Home
last modified time | relevance | path

Searched refs:mipmapLevel (Results 1 – 25 of 28) sorted by relevance

12

/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/
DvktImageTexture.cpp104 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()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
DvktImageTexture.cpp104 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()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/sparse_resources/
DvktSparseResourcesTestsUtil.cpp302 const deUint32 mipmapLevel, in makeBufferImageCopy() argument
310 …makeImageSubresourceLayers(VK_IMAGE_ASPECT_COLOR_BIT, mipmapLevel, 0u, layerCount), // VkImageSubr… in makeBufferImageCopy()
797 …deUint32 layersCount, const tcu::TextureFormat& format, const deUint32 mipmapLevel, const deUint32… in getImageMipLevelSizeInBytes() argument
799 const VkExtent3D extents = mipLevelExtents(baseExtents, mipmapLevel); in getImageMipLevelSizeInBytes()
807 for (deUint32 mipmapLevel = 0; mipmapLevel < mipmapLevelsCount; ++mipmapLevel) in getImageSizeInBytes() local
808 …imageSizeInBytes += getImageMipLevelSizeInBytes(baseExtents, layersCount, format, mipmapLevel, mip… in getImageSizeInBytes()
813 …escription& formatDescription, const deUint32 planeNdx, const deUint32 mipmapLevel, const deUint32… in getImageMipLevelSizeInBytes() argument
815 …return layersCount * getPlaneSizeInBytes(formatDescription, baseExtents, planeNdx, mipmapLevel, mi… in getImageMipLevelSizeInBytes()
822 for (deUint32 mipmapLevel = 0; mipmapLevel < mipmapLevelsCount; ++mipmapLevel) in getImageSizeInBytes() local
823 …evelSizeInBytes(baseExtents, layersCount, formatDescription, planeNdx, mipmapLevel, mipmapMemoryAl… in getImageSizeInBytes()
DvktSparseResourcesTestsUtil.hpp154 const deUint32 mipmapLevel,
167 const deUint32 mipmapLevel,
179 const deUint32 mipmapLevel = 0u,
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesTestsUtil.cpp302 const deUint32 mipmapLevel, in makeBufferImageCopy() argument
310 …makeImageSubresourceLayers(VK_IMAGE_ASPECT_COLOR_BIT, mipmapLevel, 0u, layerCount), // VkImageSubr… in makeBufferImageCopy()
797 …deUint32 layersCount, const tcu::TextureFormat& format, const deUint32 mipmapLevel, const deUint32… in getImageMipLevelSizeInBytes() argument
799 const VkExtent3D extents = mipLevelExtents(baseExtents, mipmapLevel); in getImageMipLevelSizeInBytes()
807 for (deUint32 mipmapLevel = 0; mipmapLevel < mipmapLevelsCount; ++mipmapLevel) in getImageSizeInBytes() local
808 …imageSizeInBytes += getImageMipLevelSizeInBytes(baseExtents, layersCount, format, mipmapLevel, mip… in getImageSizeInBytes()
813 …escription& formatDescription, const deUint32 planeNdx, const deUint32 mipmapLevel, const deUint32… in getImageMipLevelSizeInBytes() argument
815 …return layersCount * getPlaneSizeInBytes(formatDescription, baseExtents, planeNdx, mipmapLevel, mi… in getImageMipLevelSizeInBytes()
822 for (deUint32 mipmapLevel = 0; mipmapLevel < mipmapLevelsCount; ++mipmapLevel) in getImageSizeInBytes() local
823 …evelSizeInBytes(baseExtents, layersCount, formatDescription, planeNdx, mipmapLevel, mipmapMemoryAl… in getImageSizeInBytes()
DvktSparseResourcesTestsUtil.hpp154 const deUint32 mipmapLevel,
167 const deUint32 mipmapLevel,
179 const deUint32 mipmapLevel = 0u,
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineMultisampleTestsUtil.cpp363 …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()
DvktPipelineMultisampleTestsUtil.hpp76 …deUint32 layersCount, const tcu::TextureFormat& format, const deUint32 mipmapLevel, const deUint32…
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
DvktPipelineMultisampleTestsUtil.cpp363 …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()
DvktPipelineMultisampleTestsUtil.hpp76 …deUint32 layersCount, const tcu::TextureFormat& format, const deUint32 mipmapLevel, const deUint32…
/third_party/skia/third_party/externals/dawn/src/utils/
DTestUtils.cpp37 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()
DTestUtils.h37 uint32_t mipmapLevel,
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libEGL/
DSurface.cpp147 void Surface::setMipmapLevel(EGLint mipmapLevel) in setMipmapLevel() argument
149 this->mipmapLevel = mipmapLevel; in setMipmapLevel()
196 return mipmapLevel; in getMipmapLevel()
DSurface.hpp43 void setMipmapLevel(EGLint mipmapLevel);
95 EGLint mipmapLevel = 0; // Mipmap level to render to member in egl::Surface
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
DVkDescriptorSetLayout.cpp410 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/
Dmtl_resources.mm531 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()
Dmtl_resources.h185 const MipmapNativeLevel &mipmapLevel,
192 const MipmapNativeLevel &mipmapLevel,
202 const MipmapNativeLevel &mipmapLevel,
DTextureMtl.mm358 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/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkImageUtil.hpp184 const deUint32 mipmapLevel,
189 const deUint32 mipmapLevel,
194 const deUint32 mipmapLevel);
198 const deUint32 mipmapLevel);
DvkImageUtil.cpp2566 const deUint32 mipmapLevel, in getPlaneSizeInBytes() argument
2569 VkExtent3D imageExtent = getPlaneExtent(formatInfo, baseExtents, planeNdx, mipmapLevel); in getPlaneSizeInBytes()
2578 const deUint32 mipmapLevel, in getPlaneSizeInBytes() argument
2581 …tcu::UVec2 mipExtents = getPlaneExtent(formatInfo, baseExtents, planeNdx, mipmapLevel) / tcu::UVec… in getPlaneSizeInBytes()
2588 const deUint32 mipmapLevel) in getPlaneExtent() argument
2595 return mipLevelExtents(mip0Extents, mipmapLevel); in getPlaneExtent()
2601 const deUint32 mipmapLevel) in getPlaneExtent() argument
2609 std::max(mip0Extents.x() >> mipmapLevel, 1u), in getPlaneExtent()
2610 std::max(mip0Extents.y() >> mipmapLevel, 1u) in getPlaneExtent()
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
DContext.cpp3272 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/
Des3fFboStateQueryTests.cpp291 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/skia/third_party/externals/swiftshader/src/WSI/
DMetalSurface.mm178 mipmapLevel:0
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DImageTestMetal.mm280 mipmapLevel:0
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DMultisampledRenderingTests.cpp184 uint32_t mipmapLevel = 0, in VerifyResolveTarget() argument
193 mipmapLevel); in VerifyResolveTarget()

12