/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/src/ |
H A D | webgl_framebuffer.cpp | 280 const WebGLAttachmentInfo& info, std::vector<WebGLAttachment*>& attachments) const in CheckAttachmentComplete() 287 attachments[0] = attachedObject; // attachments[0]: depthAttachment in CheckAttachmentComplete() 294 attachments[1] = attachedObject; // attachments[1]: stencilAttachment in CheckAttachmentComplete() 301 attachments[2] = attachedObject; // attachments[2]: depthStencilAttachment in CheckAttachmentComplete() 314 WebGLAttachmentInfo info, std::vector<WebGLAttachment*>& attachments, WebGLAttachment* attachedObject) const in CheckStatus() 324 if (!CheckAttachmentComplete(context->IsHighWebGL(), attachedObject, info, attachments)) { in CheckStatus() 332 std::vector<WebGLAttachment*>& attachments) cons in CheckAttachStatus() 313 CheckStatus(napi_env env, Impl::WebGLRenderingContextBaseImpl* context, WebGLAttachmentInfo info, std::vector<WebGLAttachment*>& attachments, WebGLAttachment* attachedObject) const CheckStatus() argument 353 std::vector<WebGLAttachment*> attachments = {nullptr, nullptr, nullptr}; CheckStatus() local [all...] |
/foundation/graphic/graphic_3d/lume/LumeRender/src/vulkan/ |
H A D | pipeline_create_functions_vk.cpp | 49 void CreateAttachmentDescriptions(const array_view<const RenderPassDesc::AttachmentDesc> attachments, in CreateAttachmentDescriptions() argument 54 PLUGIN_ASSERT(attachments.size() == compatibilityAttachmentDescs.size()); in CreateAttachmentDescriptions() 55 PLUGIN_ASSERT(attachments.size() <= newAttachments.size()); in CreateAttachmentDescriptions() 56 PLUGIN_ASSERT(attachments.size() <= initialImageLayouts.size()); in CreateAttachmentDescriptions() 57 PLUGIN_ASSERT(attachments.size() <= finalImageLayouts.size()); in CreateAttachmentDescriptions() 61 for (size_t idx = 0; idx < attachments.size(); ++idx) { in CreateAttachmentDescriptions() 62 const auto& attachmentRef = attachments[idx]; in CreateAttachmentDescriptions() 83 void CreateAttachmentDescriptions2(const array_view<const RenderPassDesc::AttachmentDesc> attachments, in CreateAttachmentDescriptions2() argument 88 PLUGIN_ASSERT(attachments.size() == compatibilityAttachmentDescs.size()); in CreateAttachmentDescriptions2() 89 PLUGIN_ASSERT(attachments in CreateAttachmentDescriptions2() 123 CreateAttachmentDescriptionsCompatibility(const array_view<const RenderPassDesc::AttachmentDesc> attachments, const array_view<const LowLevelRenderPassCompatibilityDescVk::Attachment> compatibilityAttachmentDescs, array_view<VkAttachmentDescription> newAttachments) CreateAttachmentDescriptionsCompatibility() argument 149 CreateAttachmentDescriptionsCompatibility2(const array_view<const RenderPassDesc::AttachmentDesc> attachments, const array_view<const LowLevelRenderPassCompatibilityDescVk::Attachment> compatibilityAttachmentDescs, array_view<VkAttachmentDescription2KHR> newAttachments) CreateAttachmentDescriptionsCompatibility2() argument 249 const auto attachments = array_view(renderPassDesc.attachments, renderPassDesc.attachmentCount); CreateRenderPassCombined() local 430 const auto attachments = array_view(renderPassDesc.attachments, renderPassDesc.attachmentCount); CreateRenderPassCombined2() local [all...] |
H A D | node_context_pool_manager_vk.cpp | 78 renderPassCompatibilityDesc.attachments[idx]; in HashRenderPassCompatibility() 85 HashCombine(hash, (static_cast<uint64_t>(renderPassDesc.attachments[idx].layer) << 32ULL) | in HashRenderPassCompatibility() 86 (static_cast<uint64_t>(renderPassDesc.attachments[idx].mipLevel))); in HashRenderPassCompatibility() 106 const RenderPassDesc::AttachmentDesc& atDesc = renderPassDesc.attachments[idx]; in HashFramebuffer() 116 const auto& attachRef = renderPassDesc.attachments[idx]; in HashRenderPassOps() 167 const RenderPassDesc::AttachmentDesc& attachmentDesc = renderPassDesc.attachments[idx]; in CreateFramebuffer() 430 renderPassData.renderPassCompatibilityDesc.attachments[idx] = { platData.format, platData.samples, 435 const auto& attachmentRef = beginRenderPass.renderPassDesc.attachments[idx];
|
H A D | pipeline_create_functions_vk.h | 42 Attachment attachments[PipelineStateConstants::MAX_RENDER_PASS_ATTACHMENT_COUNT]; member
|
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/include/webgl/ |
H A D | webgl_framebuffer.h | 120 std::vector<WebGLAttachment*>& attachments, WebGLAttachment* attachedObject) const; 122 std::vector<WebGLAttachment*>& attachments) const; 128 const WebGLAttachmentInfo& info, std::vector<WebGLAttachment*>& attachments) const;
|
/foundation/graphic/graphic_3d/lume/LumeRender/src/nodecontext/ |
H A D | render_node_util.cpp | 155 if (!renderPass.attachments.empty()) { in CreateInputRenderPass() 156 rp.attachments.reserve(renderPass.attachments.size()); in CreateInputRenderPass() 157 for (const auto& ref : renderPass.attachments) { in CreateInputRenderPass() 160 rp.attachments.push_back(RenderNodeAttachment { handle, ref.loadOp, ref.storeOp, ref.stencilLoadOp, in CreateInputRenderPass() 271 const uint32_t attachmentCount = (uint32_t)renderPass.attachments.size(); in CreateRenderPass() 277 for (size_t idx = 0; idx < renderPass.attachments.size(); ++idx) { in CreateRenderPass() 278 const auto& ref = renderPass.attachments[idx]; in CreateRenderPass() 279 rpDesc.attachments[idx] = { ref.layer, ref.mip, ref.loadOp, ref.storeOp, ref.stencilLoadOp, in CreateRenderPass() 403 for (const auto& ref : renderPass.attachments) { in HasChangeableResources() [all...] |
H A D | render_node_post_process_util.cpp | 78 rp.renderPassDesc.attachments[0u].loadOp = AttachmentLoadOp::CORE_ATTACHMENT_LOAD_OP_DONT_CARE; in CreateRenderPass() 79 rp.renderPassDesc.attachments[0u].storeOp = AttachmentStoreOp::CORE_ATTACHMENT_STORE_OP_STORE; in CreateRenderPass() 691 rp.renderPassDesc.attachments[0u].loadOp = AttachmentLoadOp::CORE_ATTACHMENT_LOAD_OP_DONT_CARE; in ExecuteDofBlur() 692 rp.renderPassDesc.attachments[0u].storeOp = AttachmentStoreOp::CORE_ATTACHMENT_STORE_OP_STORE; in ExecuteDofBlur() 694 rp.renderPassDesc.attachments[1u].loadOp = AttachmentLoadOp::CORE_ATTACHMENT_LOAD_OP_DONT_CARE; in ExecuteDofBlur() 695 rp.renderPassDesc.attachments[1u].storeOp = AttachmentStoreOp::CORE_ATTACHMENT_STORE_OP_STORE; in ExecuteDofBlur()
|
/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/ |
H A D | node_context_pool_manager_gles.cpp | 65 images[idx].layer = renderPassDesc.attachments[idx].layer; in UpdateBindImages() 66 images[idx].mipLevel = renderPassDesc.attachments[idx].mipLevel; in UpdateBindImages() 78 HashCombine(rpHash, renderPassDesc.attachments[idx].layer); in HashRPD() 79 HashCombine(rpHash, renderPassDesc.attachments[idx].mipLevel); in HashRPD() 131 // is returned if depth and stencil attachments, if present, are not the same renderbuffer, or in VerifyFBO() 144 // layered, or if all populated color attachments are not from textures of the same target. in VerifyFBO() 273 PLUGIN_LOG_W("Attachment is not the same size (%d) as other attachments (%u)", desc.width, width); in BindToFbo() 276 PLUGIN_LOG_W("Attachment is not the same size (%d) as other attachments (%u)", desc.height, height); in BindToFbo() 325 PLUGIN_LOG_W("Attachment is not the same size (%d) as other attachments (%u)", desc.width, width); in BindToFboMultisampled() 328 PLUGIN_LOG_W("Attachment is not the same size (%d) as other attachments ( in BindToFboMultisampled() 585 MapColorAttachments(array_view<RenderPassSubpassDesc>::iterator begin, array_view<RenderPassSubpassDesc>::iterator pos, array_view<const BindImage> images, array_view<uint32_t> imageMap, array_view<RenderPassDesc::AttachmentDesc> attachments) MapColorAttachments() argument 616 MapDepthAttachments(array_view<RenderPassSubpassDesc>::iterator begin, array_view<RenderPassSubpassDesc>::iterator pos, array_view<const BindImage> images, array_view<uint32_t> imageMap, array_view<RenderPassDesc::AttachmentDesc> attachments) MapDepthAttachments() argument [all...] |
/foundation/graphic/graphic_3d/lume/Lume_3D/src/render/node/ |
H A D | render_copy_helper.cpp | 42 rp.renderPassDesc.attachments[0u].loadOp = AttachmentLoadOp::CORE_ATTACHMENT_LOAD_OP_DONT_CARE; in CreateRenderPass() 43 rp.renderPassDesc.attachments[0u].storeOp = AttachmentStoreOp::CORE_ATTACHMENT_STORE_OP_STORE; in CreateRenderPass()
|
H A D | render_node_camera_cubemap.cpp | 228 renderPass.renderPassDesc.attachments[0U].loadOp = CORE_ATTACHMENT_LOAD_OP_DONT_CARE; in ExecuteSinglePostProcess() 229 renderPass.renderPassDesc.attachments[0U].storeOp = CORE_ATTACHMENT_STORE_OP_STORE; in ExecuteSinglePostProcess() 230 renderPass.renderPassDesc.attachments[0U].layer = 0U; in ExecuteSinglePostProcess() 271 renderPass.renderPassDesc.attachments[0U].mipLevel = mipIdx; in ExecuteSinglePostProcess()
|
H A D | render_node_default_shadows_blur.cpp | 155 renderPass.renderPassDesc.attachments[0].layer = drawIdx; in ProcessSingleShadow() 161 renderPass.renderPassDesc.attachments[0] = { 0, 0, AttachmentLoadOp::CORE_ATTACHMENT_LOAD_OP_DONT_CARE, in ProcessSingleShadow()
|
H A D | render_node_default_env.cpp | 493 if ((inputRenderPass_.fragmentShadingRateAttachmentIndex < inputRenderPass_.attachments.size()) && in ParseRenderNodeInputs() 495 inputRenderPass_.attachments[inputRenderPass_.fragmentShadingRateAttachmentIndex].handle)) { in ParseRenderNodeInputs()
|
/foundation/graphic/graphic_3d/lume/LumeRender/src/node/ |
H A D | render_blur.cpp | 114 renderPass.renderPassDesc.attachments[0].loadOp = CORE_ATTACHMENT_LOAD_OP_DONT_CARE; in Execute() 115 renderPass.renderPassDesc.attachments[0].storeOp = CORE_ATTACHMENT_STORE_OP_STORE; in Execute() 214 renderPass.renderPassDesc.attachments[0].mipLevel = renderPassMipLevel; in RenderData() 371 renderPass.renderPassDesc.attachments[0].mipLevel = mip; in RenderGaussian() 388 renderPass.renderPassDesc.attachments[0].mipLevel = mip - 1u; in RenderGaussian() 397 renderPass.renderPassDesc.attachments[0].mipLevel = mip; in RenderGaussian()
|
H A D | render_node_back_buffer.cpp | 178 if (!inputRenderPass_.attachments.empty()) { in UpdateColorAttachmentSize() 179 dstImageHandle = inputRenderPass_.attachments[0].handle; in UpdateColorAttachmentSize() 181 const GpuImageDesc& desc = gpuResourceMgr.GetImageDescriptor(inputRenderPass_.attachments[0].handle); in UpdateColorAttachmentSize()
|
H A D | render_motion_blur.cpp | 193 renderPass.renderPassDesc.attachments[0].loadOp = CORE_ATTACHMENT_LOAD_OP_DONT_CARE; in Execute() 194 renderPass.renderPassDesc.attachments[0].storeOp = CORE_ATTACHMENT_STORE_OP_STORE; in Execute() 248 renderPass.renderPassDesc.attachments[0].loadOp = CORE_ATTACHMENT_LOAD_OP_DONT_CARE; in ExecuteTileVelocity() 249 renderPass.renderPassDesc.attachments[0].storeOp = CORE_ATTACHMENT_STORE_OP_STORE; in ExecuteTileVelocity()
|
H A D | render_node_shader_passes_generic.cpp | 61 CloneData(rp.renderPassDesc.attachments, sizeof(rp.renderPassDesc.attachments), in ConvertToLowLevelRenderPass() 62 renderPassInput.renderPassDesc.attachments, sizeof(renderPassInput.renderPassDesc.attachments)); in ConvertToLowLevelRenderPass()
|
H A D | render_copy.cpp | 49 rp.renderPassDesc.attachments[0u].loadOp = AttachmentLoadOp::CORE_ATTACHMENT_LOAD_OP_DONT_CARE; in CreateRenderPass() 50 rp.renderPassDesc.attachments[0u].storeOp = AttachmentStoreOp::CORE_ATTACHMENT_STORE_OP_STORE; in CreateRenderPass()
|
H A D | render_bloom.cpp | 323 renderPass.renderPassDesc.attachments[0].loadOp = AttachmentLoadOp::CORE_ATTACHMENT_LOAD_OP_DONT_CARE; in GraphicsBloom() 324 renderPass.renderPassDesc.attachments[0].storeOp = AttachmentStoreOp::CORE_ATTACHMENT_STORE_OP_STORE; in GraphicsBloom() 429 renderPassUpscale.renderPassDesc.attachments[0].loadOp = AttachmentLoadOp::CORE_ATTACHMENT_LOAD_OP_DONT_CARE; in RenderUpscale() 430 renderPassUpscale.renderPassDesc.attachments[0].storeOp = AttachmentStoreOp::CORE_ATTACHMENT_STORE_OP_STORE; in RenderUpscale() 709 renderPass.renderPassDesc.attachments[0].loadOp = AttachmentLoadOp::CORE_ATTACHMENT_LOAD_OP_DONT_CARE; in CreateRenderPsos() 710 renderPass.renderPassDesc.attachments[0].storeOp = AttachmentStoreOp::CORE_ATTACHMENT_STORE_OP_STORE; in CreateRenderPsos()
|
H A D | render_node_mip_chain_post_process.cpp | 305 renderPass.renderPassDesc.attachments[0].loadOp = CORE_ATTACHMENT_LOAD_OP_DONT_CARE; in GetBaseRenderPass() 306 renderPass.renderPassDesc.attachments[0].storeOp = CORE_ATTACHMENT_STORE_OP_STORE; in GetBaseRenderPass() 361 renderPass.renderPassDesc.attachments[0].mipLevel = renderPassMipLevel; in RenderGraphics()
|
/foundation/graphic/graphic_3d/lume/metaobject/src/animation/ |
H A D | animation_state.cpp | 381 if (const auto attachments = interface_cast<IAttachmentContainer>(attach->GetAttachmentContainer(true))) { in Attach() 383 if (success = attachments->Attach(attachment, dataContext); success) { in Attach() 391 return attachments->Attach(attachment, dataContext); in Attach()
|
/foundation/graphic/graphic_3d/lume/metaobject/src/serialization/ |
H A D | importer.cpp | 237 auto attachments = cont.GetAttachmentContainer(); in ImportIAttach() local 240 if (attachments) { in ImportIAttach() 241 cont.Detach(attachments->FindByName<IAttachment>(att->GetName())); in ImportIAttach()
|
/foundation/graphic/graphic_3d/lume/LumeRender/api/render/ |
H A D | render_data_structures.h | 210 BASE_NS::vector<RenderNodeAttachment> attachments; member 335 /** Render pass attachments */ 336 BASE_NS::vector<Attachment> attachments; member
|
/foundation/graphic/graphic_3d/lume/LumeRender/src/ |
H A D | render_graph.cpp | 267 firstRenderPass->renderPassDesc.attachments[idx].storeOp = in UpdateMultiRenderCommandListRenderPasses() 268 lastRenderPass->renderPassDesc.attachments[idx].storeOp; in UpdateMultiRenderCommandListRenderPasses() 269 firstRenderPass->renderPassDesc.attachments[idx].stencilStoreOp = in UpdateMultiRenderCommandListRenderPasses() 270 lastRenderPass->renderPassDesc.attachments[idx].stencilStoreOp; in UpdateMultiRenderCommandListRenderPasses() 311 // copy resolve attachments from the final subpass in UpdateMultiRenderCommandListRenderPasses() 320 // layouts for resolve attachments in UpdateMultiRenderCommandListRenderPasses() 827 // update layouts for attachments to gpu image state in RenderCommand() 924 auto& attachments = params.rc.renderPassDesc.attachments; in BeginRenderPassUpdateImageStates() local 942 const RenderPassDesc::AttachmentDesc& attachmentDesc = attachments[attachmentId in BeginRenderPassUpdateImageStates() [all...] |
/foundation/graphic/graphic_3d/lume/LumeRender/api/render/device/ |
H A D | pipeline_state_desc.h | 1008 AttachmentDesc attachments[PipelineStateConstants::MAX_RENDER_PASS_ATTACHMENT_COUNT]; member 1027 RenderPassDesc::AttachmentDesc attachments[PipelineStateConstants::MAX_RENDER_PASS_ATTACHMENT_COUNT]; member 1040 // indices to render pass attachments 1221 /** Color attachments */
|
/foundation/graphic/graphic_3d/lume/Lume_3D/src/render/ |
H A D | render_node_scene_util.cpp | 127 auto& attRef = renderPass.renderPassDesc.attachments[subpassDesc.depthAttachmentIndex]; in UpdateCustomCameraLoadStore() 139 auto& attRef = renderPass.renderPassDesc.attachments[subpassDesc.colorAttachmentIndices[idx]]; in UpdateCustomCameraLoadStore()
|