Home
last modified time | relevance | path

Searched refs:levelVk (Results 1 – 7 of 7) sorted by relevance

/external/angle/src/libANGLE/renderer/vulkan/
DRenderTargetVk.cpp168 vk::LevelIndex levelVk = mImage->toVkLevel(mLevelIndexGL); in getImageViewImpl() local
171 return imageViews->getLevelLayerDrawImageView(contextVk, image, levelVk, mLayerIndex, mode, in getImageViewImpl()
176 return imageViews->getLevelDrawImageView(contextVk, image, levelVk, mLayerIndex, mLayerCount, in getImageViewImpl()
249 vk::LevelIndex levelVk = mImage->toVkLevel(mLevelIndexGL); in getExtents() local
250 return mImage->getLevelExtents2D(levelVk); in getExtents()
256 vk::LevelIndex levelVk = mImage->toVkLevel(mLevelIndexGL); in getRotatedExtents() local
257 return mImage->getRotatedLevelExtents2D(levelVk); in getRotatedExtents()
Dvk_helpers.cpp639 ImageView *GetLevelImageView(ImageViewVector *imageViews, LevelIndex levelVk, uint32_t levelCount) in GetLevelImageView() argument
648 ASSERT(imageViews->size() > levelVk.get()); in GetLevelImageView()
650 return &(*imageViews)[levelVk.get()]; in GetLevelImageView()
654 LevelIndex levelVk, in GetLevelLayerImageView() argument
668 return GetLevelImageView(&(*imageViews)[layer], levelVk, levelCount); in GetLevelLayerImageView()
4709 gl::Extents ImageHelper::getLevelExtents(LevelIndex levelVk) const in getLevelExtents()
4713 uint32_t width = std::max(mExtents.width >> levelVk.get(), 1u); in getLevelExtents()
4714 uint32_t height = std::max(mExtents.height >> levelVk.get(), 1u); in getLevelExtents()
4715 uint32_t depth = std::max(mExtents.depth >> levelVk.get(), 1u); in getLevelExtents()
4720 gl::Extents ImageHelper::getLevelExtents2D(LevelIndex levelVk) const in getLevelExtents2D()
[all …]
DTextureVk.cpp1778 for (vk::LevelIndex levelVk(0); levelVk < maxGenerateLevels; ++levelVk) in generateMipmapsWithCompute() local
1780 vk::LevelIndex destLevelVk = destBaseLevelVk + levelVk.get(); in generateMipmapsWithCompute()
1785 destLevelCount = levelVk; in generateMipmapsWithCompute()
1791 &destLevelViews[levelVk.get()])); in generateMipmapsWithCompute()
1796 for (vk::LevelIndex levelVk = destLevelCount; in generateMipmapsWithCompute() local
1797 levelVk < vk::LevelIndex(UtilsVk::kGenerateMipmapMaxLevels); ++levelVk) in generateMipmapsWithCompute()
1799 destLevelViews[levelVk.get()] = destLevelViews[levelVk.get() - 1]; in generateMipmapsWithCompute()
2011 for (vk::LevelIndex levelVk(0); levelVk < vk::LevelIndex(levelCount); ++levelVk) in copyAndStageImageData() local
2013 gl::Extents levelExtents = srcImage->getLevelExtents(levelVk); in copyAndStageImageData()
2015 copyRegion.srcSubresource.mipLevel = levelVk.get(); in copyAndStageImageData()
[all …]
Dvk_helpers.h1602 gl::Extents getLevelExtents(LevelIndex levelVk) const;
1605 gl::Extents getLevelExtents2D(LevelIndex levelVk) const;
1606 gl::Extents getRotatedLevelExtents2D(LevelIndex levelVk) const;
2267 LevelIndex levelVk,
2276 LevelIndex levelVk,
2285 LevelIndex levelVk,
2294 LevelIndex levelVk,
Dvk_utils.cpp1485 gl::LevelIndex GetLevelIndex(vk::LevelIndex levelVk, gl::LevelIndex baseLevel) in GetLevelIndex() argument
1487 return gl::LevelIndex(levelVk.get() + baseLevel.get()); in GetLevelIndex()
Dvk_utils.h1013 gl::LevelIndex GetLevelIndex(vk::LevelIndex levelVk, gl::LevelIndex baseLevel);
DFramebufferVk.cpp1472 vk::LevelIndex levelVk = dstImage.toVkLevel(drawRenderTarget->getLevelIndex()); in resolveColorWithCommand() local
1473 resolveRegion.dstSubresource.mipLevel = levelVk.get(); in resolveColorWithCommand()