/foundation/graphic/graphic_3d/lume/LumeRender/src/node/ |
H A D | render_blur.cpp | 214 renderPass.renderPassDesc.attachments[0].mipLevel = renderPassMipLevel; in RenderData() 276 void 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() 293 IRenderCommandList& cmdList, const RenderHandle realImage, const uint32_t mipLevel, const RenderHandle tmpImage) in BlurHorizontalBarrier() 297 imgRange.baseMipLevel = mipLevel; in BlurHorizontalBarrier() 299 imgRange.baseMipLevel = mipLevel - 1; in BlurHorizontalBarrier() 305 IRenderCommandList& cmdList, const RenderHandle realImage, const uint32_t mipLevel, const RenderHandle tmpImage) in BlurVerticalBarrier() 309 imgRange.baseMipLevel = mipLevel; in BlurVerticalBarrier() 311 imgRange.baseMipLevel = mipLevel in BlurVerticalBarrier() 292 BlurHorizontalBarrier( IRenderCommandList& cmdList, const RenderHandle realImage, const uint32_t mipLevel, const RenderHandle tmpImage) BlurHorizontalBarrier() argument 304 BlurVerticalBarrier( IRenderCommandList& cmdList, const RenderHandle realImage, const uint32_t mipLevel, const RenderHandle tmpImage) BlurVerticalBarrier() argument [all...] |
H A D | render_staging.cpp | 92 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 D | render_node_mip_chain_post_process.cpp | 361 renderPass.renderPassDesc.attachments[0].mipLevel = renderPassMipLevel; in RenderGraphics()
|
/foundation/graphic/graphic_3d/lume/LumeRender/src/vulkan/ |
H A D | node_context_pool_manager_vk.cpp | 86 (static_cast<uint64_t>(renderPassDesc.attachments[idx].mipLevel))); in HashRenderPassCompatibility() 109 HashCombine(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.size())) { in CreateFramebuffer() 182 imageViews[viewIndex] = imagePlat.mipImageViews[attachmentDesc.mipLevel]; in CreateFramebuffer() 436 if ((attachmentRef.mipLevel >= 1) && (attachmentRef.mipLevel < platData.mipLevels)) { 437 maxFbWidth = Math::max(1u, maxFbWidth >> attachmentRef.mipLevel); [all...] |
H A D | render_backend_vk.cpp | 1523 ib.srcSubresource.mipLevel, // mipLevel 1529 ib.dstSubresource.mipLevel, // mipLevel 1612 subresourceLayer.mipLevel, 1618 const uint32_t mip = subresourceLayer.mipLevel; 1680 srcSubresourceLayer.mipLevel, 1686 dstSubresourceLayer.mipLevel,
|
/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/ |
H A D | render_backend_gles.cpp | 71 uint32_t mipLevel; member 131 uint32_t mipLevel {}; 142 const GLint sfh = static_cast<GLint>(src.height >> src.mipLevel); in DoBlit() 146 const GLint dfh = static_cast<GLint>(dst.height >> dst.mipLevel); in DoBlit() 408 const uint32_t mip = imageSubresource.mipLevel; in BlitArray() 422 device_.CompressedTexSubImage3D(iPlat.image, iPlat.type, imageSubresource.mipLevel, offset3D, extent3D, in BlitArray() 425 device_.TexSubImage3D(iPlat.image, iPlat.type, imageSubresource.mipLevel, offset3D, extent3D, in BlitArray() 439 const uint32_t mip = imageSubresource.mipLevel; in Blit2D() 449 device_.CompressedTexSubImage2D(iPlat.image, iPlat.type, imageSubresource.mipLevel, offset, extent, in Blit2D() 452 device_.TexSubImage2D(iPlat.image, iPlat.type, imageSubresource.mipLevel, offse in Blit2D() 648 ValidateCopyImage(const Offset3D& offset, const Size3D& extent, uint32_t mipLevel, const GpuImageDesc& imageDesc) ValidateCopyImage() argument [all...] |
H A D | node_context_pool_manager_gles.cpp | 41 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, (GLin in BindToFboMultisampled() [all...] |
H A D | gpu_image_gles.h | 49 uint32_t mipLevel { PipelineStateConstants::GPU_IMAGE_ALL_MIP_LEVELS };
|
/foundation/graphic/graphic_3d/lume/LumeRender/src/ |
H A D | render_graph.cpp | 378 uint32_t mipLevel = 0U; in GetSrcImageBarrierMips() local 384 mipLevel = dst.mip; in GetSrcImageBarrierMips() 387 mipLevel = src.mip; in GetSrcImageBarrierMips() 391 srcImageLayout = additionalImageState.layouts[mipLevel]; in GetSrcImageBarrierMips() 399 { 0, mipLevel, mipCount, 0u, PipelineStateConstants::GPU_IMAGE_ALL_LAYERS }, in GetSrcImageBarrierMips() 428 uint32_t mipLevel = 0U; in GetDstImageBarrierMips() local 434 mipLevel = dst.mip; in GetDstImageBarrierMips() 437 mipLevel = src.mip; in GetDstImageBarrierMips() 447 { 0, mipLevel, mipCount, 0u, PipelineStateConstants::GPU_IMAGE_ALL_LAYERS }, in GetDstImageBarrierMips() 943 if (addMips && (attachmentDesc.mipLevel < RenderGrap in BeginRenderPassUpdateImageStates() 1157 uint32_t mipLevel = 0U; HandleCustomBarriers() local [all...] |
/foundation/graphic/graphic_3d/lume/LumeEngine/api/core/image/ |
H A D | intf_image_container.h | 136 uint32_t mipLevel { 0 };
|
/foundation/graphic/graphic_3d/lume/LumeRender/api/render/device/ |
H A D | pipeline_state_desc.h | 853 uint32_t mipLevel { 0 }; 985 uint32_t mipLevel { 0u };
|
/foundation/graphic/graphic_3d/lume/LumeEngine/src/image/loaders/ |
H A D | image_loader_ktx.cpp | 221 image->imageBuffers_[imageBufferIndex].mipLevel = mipmapLevel; in ProcessMipmapLevel()
|
/foundation/graphic/graphic_3d/lume/Lume_3D/src/gltf/ |
H A D | gltf2_loader.cpp | 1864 ImageBasedLight::CubemapMipLevel mipLevel; 1866 mipLevel.reserve(mipLevelJson.array_.size()); 1867 std::transform(mipLevelJson.array_.begin(), mipLevelJson.array_.end(), std::back_inserter(mipLevel), 1873 if (mipLevel.size() != 6) { 1877 specularImages.push_back(move(mipLevel));
|
H A D | gltf2_importer.cpp | 1514 subImageDesc.mipLevel, // mipLevel in ImportTexture() 2221 bufferCopy.imageSubresource.mipLevel = (uint32_t)mipIndex; in PrepareImageData() 3210 for (const auto& mipLevel : light->specularImages) { 3212 for (const auto& cubeFace : mipLevel) {
|
/foundation/graphic/graphic_3d/lume/Lume_3D/src/render/node/ |
H A D | render_node_camera_cubemap.cpp | 271 renderPass.renderPassDesc.attachments[0U].mipLevel = mipIdx; in ExecuteSinglePostProcess()
|
/foundation/graphic/graphic_3d/lume/LumeRender/src/device/ |
H A D | gpu_resource_manager.cpp | 217 const uint32_t mip = copy.imageSubresource.mipLevel; in ValidateGpuImageCopy() 344 { ImageAspectFlagBits::CORE_IMAGE_ASPECT_COLOR_BIT, bufferImageCopy.mipLevel, 0, bufferImageCopy.layerCount },
|