Home
last modified time | relevance | path

Searched refs:imageDesc (Results 1 - 10 of 10) sorted by relevance

/foundation/graphic/graphic_3d/lume/LumeRender/src/node/
H A Drender_node_mip_chain_post_process.cpp333 const GpuImageDesc imageDesc = renderNodeContextMgr_->GetGpuResourceManager().GetImageDescriptor(imageHandle); in RenderGraphics() local
334 if (imageDesc.mipCount <= 1U) { in RenderGraphics()
337 renderPass.renderPassDesc.renderArea = { 0, 0, imageDesc.width, imageDesc.height }; in RenderGraphics()
351 for (uint32_t idx = 1U; idx < imageDesc.mipCount; ++idx) { in RenderGraphics()
352 const uint32_t renderPassMipLevel = jsonInputs_.upRamp ? (imageDesc.mipCount - idx - 1) : idx; in RenderGraphics()
353 const uint32_t inputMipLevel = jsonInputs_.upRamp ? (imageDesc.mipCount - idx) : (idx - 1); in RenderGraphics()
355 const uint32_t width = std::max(1u, imageDesc.width >> renderPassMipLevel); in RenderGraphics()
356 const uint32_t height = std::max(1u, imageDesc.height >> renderPassMipLevel); in RenderGraphics()
420 if (imageDesc in RenderGraphics()
[all...]
H A Drender_staging.cpp98 void GenerateMipmaps(IRenderCommandList& cmdList, const GpuImageDesc& imageDesc, const RenderHandle mipImageHandle, in GenerateMipmaps() argument
102 const uint32_t mipCount = imageDesc.mipCount; in GenerateMipmaps()
103 const uint32_t layerCount = imageDesc.layerCount; in GenerateMipmaps()
105 const uint32_t iw = imageDesc.width; in GenerateMipmaps()
106 const uint32_t ih = imageDesc.height; in GenerateMipmaps()
180 const GpuImageDesc imageDesc = gpuResourceMgr.GetImageDescriptor(ref.dstHandle.GetHandle()); in CopyBuffersToImages() local
195 BlitScalingImage(cmdList, copyRef, bufferToImageDst, ref.dstHandle.GetHandle(), imageDesc); in CopyBuffersToImages()
199 if (imageDesc.engineCreationFlags & EngineImageCreationFlagBits::CORE_ENGINE_IMAGE_CREATION_GENERATE_MIPS) { in CopyBuffersToImages()
200 const FormatProperties formatProperties = gpuResourceMgr.GetFormatProperties(imageDesc.format); in CopyBuffersToImages()
202 const uint32_t mipCount = imageDesc in CopyBuffersToImages()
[all...]
H A Drender_blur.cpp92 const GpuImageDesc imageDesc = gpuResourceMgr.GetImageDescriptor(imageData_.mipImage); in PreExecute() local
93 imageData_.mipCount = imageDesc.mipCount; in PreExecute()
94 imageData_.format = imageDesc.format; in PreExecute()
95 imageData_.size = { imageDesc.width, imageDesc.height }; in PreExecute()
191 const GpuImageDesc imageDesc = renderNodeContextMgr.GetGpuResourceManager().GetImageDescriptor(imageData_.mipImage); in RenderData() local
208 const uint32_t currWidth = Math::max(1u, imageDesc.width >> renderPassMipLevel); in RenderData()
209 const uint32_t currHeight = Math::max(1u, imageDesc.height >> renderPassMipLevel); in RenderData()
/foundation/graphic/graphic_3d/3d_widget_adapter/core/src/lume/
H A Dlume_common.cpp1498 auto imageDesc = GetImageDesc(); in SetupGpuImageTarget() local
1504 glesImageDesc.format = imageDesc.format; in SetupGpuImageTarget()
1509 BASE_NS::string_view(name.c_str()), imageDesc, glesImageDesc); in SetupGpuImageTarget()
1522 auto imageDesc = GetImageDesc(); in SetupGpuDepthTarget() local
1523 imageDesc.format = Base::Format::BASE_FORMAT_D24_UNORM_S8_UINT; in SetupGpuDepthTarget()
1524 imageDesc.usageFlags = in SetupGpuDepthTarget()
1528 GetRenderContext()->GetDevice().GetGpuResourceManager().Create(name.c_str(), imageDesc); in SetupGpuDepthTarget()
1535 RENDER_NS::GpuImageDesc imageDesc; in GetImageDesc() local
1536 imageDesc.imageType = Render::ImageType::CORE_IMAGE_TYPE_2D; in GetImageDesc()
1537 imageDesc in GetImageDesc()
[all...]
/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/
H A Drender_backend_gles.cpp394 const GpuImageDesc& imageDesc; member
407 const auto& imageDesc = bd.imageDesc; in BlitArray() local
409 const Math::UVec3 imageSize { imageDesc.width >> mip, imageDesc.height >> mip, imageDesc.depth }; in BlitArray()
438 const auto& imageDesc = bd.imageDesc; in Blit2D() local
440 const Math::UVec2 imageSize { imageDesc.width >> mip, imageDesc in Blit2D()
462 const auto& imageDesc = bd.imageDesc; Blit3D() local
648 ValidateCopyImage(const Offset3D& offset, const Size3D& extent, uint32_t mipLevel, const GpuImageDesc& imageDesc) ValidateCopyImage() argument
[all...]
/foundation/graphic/graphic_3d/lume/Lume_3D/src/util/
H A Drender_util.cpp207 const GpuImageDesc imageDesc = gpuResourceMgr.GetImageDescriptor(imageHandle); in SelectBaseDesc() local
209 (imageDesc.sampleCountFlags > 1) && (!depthOutput)) { in SelectBaseDesc()
/foundation/graphic/graphic_3d/lume/Lume_3D/src/gltf/
H A Dgltf2_importer.cpp1477 const auto& imageDesc = image->GetImageDesc(); in ImportTexture() local
1482 const GpuImageDesc gpuImageDesc = gpuResourceManager.CreateGpuImageDesc(imageDesc); in ImportTexture()
2170 const GpuImageDesc imageDesc = gpuResourceManager.GetImageDescriptor(envMapHandle); in CreateEnvironmentComponent() local
2171 if (imageDesc.imageViewType == CORE_IMAGE_VIEW_TYPE_CUBE) { in CreateEnvironmentComponent()
2196 ImageData PrepareImageData(const ImageLoadResultVector& imageLoadResults, const GpuImageDesc& imageDesc) in PrepareImageData() argument
2199 const size_t availableMipLayerCount = imageLoadResults.size() / imageDesc.layerCount; in PrepareImageData()
2223 bufferCopy.imageSubresource.layerCount = imageDesc.layerCount; in PrepareImageData()
2226 for (uint32_t face = 0; face < imageDesc.layerCount; ++face) { in PrepareImageData()
2227 const auto& cubeFaceLoadResult = imageLoadResults[(mipIndex * imageDesc.layerCount) + face]; in PrepareImageData()
2254 const GpuImageDesc imageDesc in CreateCubemapFromImages() local
[all...]
/foundation/graphic/graphic_3d/lume/LumeRender/src/vulkan/
H A Ddevice_vk.cpp1259 const ImageDescVk& imageDesc = (const ImageDescVk&)platformData; in CreateGpuImageView() local
1261 platData.image = imageDesc.image; in CreateGpuImageView()
1262 platData.imageView = imageDesc.imageView; in CreateGpuImageView()
1263 return CreateGpuImageView(desc, platData, imageDesc.platformHwBuffer); in CreateGpuImageView()
H A Drender_backend_vk.cpp1616 const GpuImageDesc& imageDesc = gpuImage->GetDesc();
1619 const VkExtent3D imageSize { imageDesc.width >> mip, imageDesc.height >> mip, imageDesc.depth };
/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/
H A Dmaterial_impl.cpp459 RENDER_NS::GpuImageDesc imageDesc; in CheckImageHandle()
464 sh->GetImageHandle(image, handle, imageDesc); in CheckImageHandle()
490 w_info, handle, BASE_NS::Math::UVec2(imageDesc.width, imageDesc.height)), in CheckImageHandle()

Completed in 21 milliseconds