/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/node/ |
H A D | render_blur.cpp | 363 const uint32_t mip = idx; in RenderGaussian() local 365 …th::UVec2 size = { Math::max(1u, imageData_.size.x >> mip), Math::max(1u, imageData_.size.y >> mip… in RenderGaussian() 371 renderPass.renderPassDesc.attachments[0].mipLevel = mip; in RenderGaussian() 378 DownscaleBarrier(cmdList, imageData_.mipImage, mip); in RenderGaussian() 380 …rPass(di, *binders_[descIdx++], *globalSet0_, renderData_.psoScale, imageData_.mipImage, mip - 1u); in RenderGaussian() 384 BlurHorizontalBarrier(cmdList, imageData_.mipImage, mip, tempTarget_.tex.GetHandle()); in RenderGaussian() 388 renderPass.renderPassDesc.attachments[0].mipLevel = mip - 1u; in RenderGaussian() 389 … BlurPass(di, *binders_[descIdx++], *globalSet0_, renderData_.psoBlur, imageData_.mipImage, mip); in RenderGaussian() 393 BlurVerticalBarrier(cmdList, imageData_.mipImage, mip, tempTarget_.tex.GetHandle()); in RenderGaussian() 397 renderPass.renderPassDesc.attachments[0].mipLevel = mip; in RenderGaussian() [all …]
|
H A D | render_node_bloom.cpp | 57 …return BindableImage { res.handle, res.mip, res.layer, ImageLayout::CORE_IMAGE_LAYOUT_UNDEFINED, r… in GetBindableImage()
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/api/render/ |
H A D | render_data_structures.h | 174 uint32_t mip { PipelineStateConstants::GPU_IMAGE_ALL_MIP_LEVELS }; 198 uint32_t mip { 0u }; 292 uint32_t mip { PipelineStateConstants::GPU_IMAGE_ALL_MIP_LEVELS }; 322 uint32_t mip { 0u };
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/nodecontext/ |
H A D | render_node_util.cpp | 104 … output.push_back(RenderNodeResource { ref.set, ref.binding, handle, {}, ref.mip, ref.layer }); in SetupRenderNodeResourceHandles() 123 …t.push_back(RenderNodeResource { ref.set, ref.binding, handle, secondHandle, ref.mip, ref.layer }); in SetupRenderNodeResourceHandles() 161 ref.stencilStoreOp, ref.clearValue, ref.mip, ref.layer }); in CreateInputRenderPass() 227 bindable.mip = ref.mip; in BindResourcesToBinder() 279 … rpDesc.attachments[idx] = { ref.layer, ref.mip, ref.loadOp, ref.storeOp, ref.stencilLoadOp, in CreateRenderPass()
|
H A D | pipeline_descriptor_set_binder.cpp | 366 bindableImage.mip = resource.mip; in BindImage() 434 bindableImage.mip = currResource.mip; in BindImages()
|
H A D | render_node_parser_util.cpp | 229 SafeGetJsonValue(jsonData, "mip", context.error, context.data.mip); 276 SafeGetJsonValue(jsonData, "mip", context.error, context.data.mip); in FromJson()
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/api/render/device/ |
H A D | pipeline_layout_desc.h | 91 uint32_t mip { PipelineStateConstants::GPU_IMAGE_ALL_MIP_LEVELS }; 121 uint32_t mip { PipelineStateConstants::GPU_IMAGE_ALL_MIP_LEVELS };
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/ |
H A D | render_graph.cpp | 382 if ((src.mip != PipelineStateConstants::GPU_IMAGE_ALL_MIP_LEVELS) || in GetSrcImageBarrierMips() 384 if (dst.mip < RenderGraph::MAX_MIP_STATE_COUNT) { in GetSrcImageBarrierMips() 385 mipLevel = dst.mip; in GetSrcImageBarrierMips() 388 mipLevel = src.mip; in GetSrcImageBarrierMips() 434 if (dst.mip < RenderGraph::MAX_MIP_STATE_COUNT) { in GetDstImageBarrierMips() 435 mipLevel = dst.mip; in GetDstImageBarrierMips() 438 mipLevel = src.mip; in GetDstImageBarrierMips() 461 (res.mip < RenderGraph::MAX_MIP_STATE_COUNT)) { in ModifyAdditionalImageState() 462 additionalStateRef.layouts[res.mip] = res.imageLayout; in ModifyAdditionalImageState() 1377 bRes.mip = srcImgLayers.mipLevel; in HandleCopyBufferImage() [all …]
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/ |
H A D | render_backend_gles.cpp | 408 const uint32_t mip = imageSubresource.mipLevel; in BlitArray() local 409 … const Math::UVec3 imageSize { imageDesc.width >> mip, imageDesc.height >> mip, imageDesc.depth }; in BlitArray() 439 const uint32_t mip = imageSubresource.mipLevel; in Blit2D() local 440 const Math::UVec2 imageSize { imageDesc.width >> mip, imageDesc.height >> mip }; in Blit2D() 463 const uint32_t mip = imageSubresource.mipLevel; in Blit3D() local 464 …const Math::UVec3 imageSize { imageDesc.width >> mip, imageDesc.height >> mip, imageDesc.depth >> … in Blit3D() 2013 ref.image.mipLevel = res.mip; in BindImage()
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/vulkan/ |
H A D | render_backend_vk.cpp | 1620 const uint32_t mip = subresourceLayer.mipLevel; in RenderCommand() local 1621 … const VkExtent3D imageSize { imageDesc.width >> mip, imageDesc.height >> mip, imageDesc.depth }; in RenderCommand() 2048 } else if (bRes.mip != PipelineStateConstants::GPU_IMAGE_ALL_MIP_LEVELS) { in UpdateCommandListDescriptorSets() 2050 (bRes.mip < platImageViews.mipImageAllLayerViews.size())) { in UpdateCommandListDescriptorSets() 2051 imageView = platImageViews.mipImageAllLayerViews[bRes.mip]; in UpdateCommandListDescriptorSets() 2052 } else if (bRes.mip < platImageViews.mipImageViews.size()) { in UpdateCommandListDescriptorSets() 2053 imageView = platImageViews.mipImageViews[bRes.mip]; in UpdateCommandListDescriptorSets()
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/device/ |
H A D | shader_pipeline_binder.cpp | 451 resource.mip, in BindImage() 486 bindables[idx] = BindableImage { rRef.handle.GetHandle(), rRef.mip, rRef.layer, in BindImages()
|
H A D | gpu_resource_manager.cpp | 217 const uint32_t mip = copy.imageSubresource.mipLevel; in ValidateGpuImageCopy() local 218 const Size3D imageSize { desc.width >> mip, desc.height >> mip, desc.depth }; in ValidateGpuImageCopy()
|