Home
last modified time | relevance | path

Searched refs:mipLevel (Results 1 – 16 of 16) sorted by relevance

/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/node/
H A Drender_blur.cpp214 renderPass.renderPassDesc.attachments[0].mipLevel = renderPassMipLevel; in RenderData()
276 …id DownscaleBarrier(IRenderCommandList& cmdList, const RenderHandle image, const uint32_t mipLevel) in DownscaleBarrier() argument
280 imgRange.baseMipLevel = mipLevel; in DownscaleBarrier()
282 const uint32_t inputMipLevel = mipLevel - 1u; in DownscaleBarrier()
297 imgRange.baseMipLevel = mipLevel; in BlurHorizontalBarrier()
299 imgRange.baseMipLevel = mipLevel - 1; in BlurHorizontalBarrier()
309 imgRange.baseMipLevel = mipLevel; in BlurVerticalBarrier()
311 imgRange.baseMipLevel = mipLevel - 1; in BlurVerticalBarrier()
371 renderPass.renderPassDesc.attachments[0].mipLevel = mip; in RenderGaussian()
388 renderPass.renderPassDesc.attachments[0].mipLevel = mip - 1u; in RenderGaussian()
[all …]
H A Drender_staging.cpp92 uint32_t GetMipLevelSize(uint32_t originalSize, uint32_t mipLevel) in GetMipLevelSize() argument
94 const uint32_t mipSize = originalSize >> mipLevel; in GetMipLevelSize()
204 const uint32_t currentMipLevel = copyRef.imageSubresource.mipLevel; in CopyBuffersToImages()
211 … cmdList, imageDesc, ref.dstHandle.GetHandle(), copyRef.imageSubresource.mipLevel); in CopyBuffersToImages()
H A Drender_node_mip_chain_post_process.cpp361 renderPass.renderPassDesc.attachments[0].mipLevel = renderPassMipLevel; in RenderGraphics()
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/vulkan/
H A Dnode_context_pool_manager_vk.cpp86 … (static_cast<uint64_t>(renderPassDesc.attachments[idx].mipLevel))); in HashRenderPassCompatibility()
109 …e(hash, gpuHandle.id, static_cast<uint64_t>(atDesc.layer), static_cast<uint64_t>(atDesc.mipLevel)); in HashFramebuffer()
175 … (attachmentDesc.mipLevel < static_cast<uint32_t>(imagePlat.mipImageAllLayerViews.size()))) { in CreateFramebuffer()
176 … imageViews[viewIndex] = imagePlat.mipImageAllLayerViews[attachmentDesc.mipLevel]; in CreateFramebuffer()
181 …} else if ((attachmentDesc.mipLevel >= 1) && (attachmentDesc.mipLevel < imagePlat.mipImageViews.si… in CreateFramebuffer()
182 imageViews[viewIndex] = imagePlat.mipImageViews[attachmentDesc.mipLevel]; in CreateFramebuffer()
436 … if ((attachmentRef.mipLevel >= 1) && (attachmentRef.mipLevel < platData.mipLevels)) { in GetRenderPassData()
437 maxFbWidth = Math::max(1u, maxFbWidth >> attachmentRef.mipLevel); in GetRenderPassData()
438 maxFbHeight = Math::max(1u, maxFbHeight >> attachmentRef.mipLevel); in GetRenderPassData()
H A Drender_backend_vk.cpp1525 ib.srcSubresource.mipLevel, // mipLevel in RenderCommand()
1531 ib.dstSubresource.mipLevel, // mipLevel in RenderCommand()
1614 subresourceLayer.mipLevel, in RenderCommand()
1620 const uint32_t mip = subresourceLayer.mipLevel; in RenderCommand()
1682 srcSubresourceLayer.mipLevel, in RenderCommand()
1688 dstSubresourceLayer.mipLevel, in RenderCommand()
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/
H A Dnode_context_pool_manager_gles.cpp41 uint32_t mipLevel; member
66 images[idx].mipLevel = renderPassDesc.attachments[idx].mipLevel; in UpdateBindImages()
79 HashCombine(rpHash, renderPassDesc.attachments[idx].mipLevel); in HashRPD()
305 …GL_FRAMEBUFFER, attachType, plat.image, (GLint)image.mipLevel, (GLint)image.layer, (GLsizei)views); in BindToFbo()
308 … GL_FRAMEBUFFER, attachType, plat.image, (GLint)image.mipLevel, (GLint)image.layer); in BindToFbo()
311 … glFramebufferTexture2D(GL_FRAMEBUFFER, attachType, plat.type, plat.image, (GLint)image.mipLevel); in BindToFbo()
362 … GL_FRAMEBUFFER, attachType, plat.image, image.mipLevel, samples, image.layer, views); in BindToFboMultisampled()
367 …GL_FRAMEBUFFER, attachType, plat.image, (GLint)image.mipLevel, (GLint)image.layer, (GLsizei)views); in BindToFboMultisampled()
370 … GL_FRAMEBUFFER, attachType, plat.image, (GLint)image.mipLevel, (GLint)image.layer); in BindToFboMultisampled()
380 GL_FRAMEBUFFER, attachType, plat.type, plat.image, (GLint)image.mipLevel, samples); in BindToFboMultisampled()
[all …]
H A Drender_backend_gles.cpp71 uint32_t mipLevel; member
131 uint32_t mipLevel {}; member
408 const uint32_t mip = imageSubresource.mipLevel; in BlitArray()
439 const uint32_t mip = imageSubresource.mipLevel; in Blit2D()
650 if (mipLevel >= imageDesc.mipCount) { in ValidateCopyImage()
2013 ref.image.mipLevel = res.mip; in BindImage()
2565 …uint32_t level = (image.mipLevel != PipelineStateConstants::GPU_IMAGE_ALL_MIP_LEVELS) ? image.mipL… in BindResources()
2579 …static_cast<GLint>((mipLevel != PipelineStateConstants::GPU_IMAGE_ALL_MIP_LEVELS) ? mipLevel : 0U)… in BindResources()
2581 …static_cast<GLint>((mipLevel != PipelineStateConstants::GPU_IMAGE_ALL_MIP_LEVELS) ? mipLevel : 100… in BindResources()
2612 if (dplat.mipLevel != obj.image.mipLevel) { in BindResources()
[all …]
H A Dgpu_image_gles.h49 uint32_t mipLevel { PipelineStateConstants::GPU_IMAGE_ALL_MIP_LEVELS };
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/
H A Drender_graph.cpp379 uint32_t mipLevel = 0U; in GetSrcImageBarrierMips() local
385 mipLevel = dst.mip; in GetSrcImageBarrierMips()
388 mipLevel = src.mip; in GetSrcImageBarrierMips()
429 uint32_t mipLevel = 0U; in GetDstImageBarrierMips() local
435 mipLevel = dst.mip; in GetDstImageBarrierMips()
438 mipLevel = src.mip; in GetDstImageBarrierMips()
1004 attachmentDesc.mipLevel, in BeginRenderPassUpdateSubpassImageStates()
1162 uint32_t mipLevel = 0U; in HandleCustomBarriers() local
1171 mipLevel = dstMip; in HandleCustomBarriers()
1377 bRes.mip = srcImgLayers.mipLevel; in HandleCopyBufferImage()
[all …]
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeEngine/api/core/image/
H A Dintf_image_container.h136 uint32_t mipLevel { 0 }; in CORE_BEGIN_NAMESPACE()
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/api/render/device/
H A Dpipeline_state_desc.h853 uint32_t mipLevel { 0 };
985 uint32_t mipLevel { 0u };
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/gltf/
H A Dgltf2_loader.cpp1864 ImageBasedLight::CubemapMipLevel mipLevel; in PrimitiveAttributes() local
1866 mipLevel.reserve(mipLevelJson.array_.size()); in PrimitiveAttributes()
1867 …td::transform(mipLevelJson.array_.begin(), mipLevelJson.array_.end(), std::back_inserter(mipLevel), in PrimitiveAttributes()
1873 if (mipLevel.size() != 6) { in PrimitiveAttributes()
1877 specularImages.push_back(move(mipLevel)); in PrimitiveAttributes()
H A Dgltf2_importer.cpp1514 subImageDesc.mipLevel, // mipLevel in ImportTexture()
2221 bufferCopy.imageSubresource.mipLevel = static_cast<uint32_t>(mipIndex); in PrepareImageData()
3210 for (const auto& mipLevel : light->specularImages) { in PrepareImageBasedLightTasks() local
3212 for (const auto& cubeFace : mipLevel) { in PrepareImageBasedLightTasks()
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/render/node/
H A Drender_node_camera_cubemap.cpp271 renderPass.renderPassDesc.attachments[0U].mipLevel = mipIdx; in ExecuteSinglePostProcess()
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeEngine/src/image/loaders/
H A Dimage_loader_ktx.cpp221 image->imageBuffers_[imageBufferIndex].mipLevel = mipmapLevel; in ProcessMipmapLevel()
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/device/
H A Dgpu_resource_manager.cpp217 const uint32_t mip = copy.imageSubresource.mipLevel; in ValidateGpuImageCopy()
344 …{ ImageAspectFlagBits::CORE_IMAGE_ASPECT_COLOR_BIT, bufferImageCopy.mipLevel, 0, bufferImageCopy.l… in ConvertCoreBufferImageCopy()