Home
last modified time | relevance | path

Searched refs:binder (Results 1 - 25 of 32) sorted by relevance

12

/foundation/graphic/graphic_3d/lume/LumeRender/src/node/
H A Drender_motion_blur.cpp206 auto& binder = *globalSet0_; in Execute() local
207 sets[0u] = binder.GetDescriptorSetHandle(); in Execute()
210 auto& binder = *localSet1_; in Execute() local
211 binder.ClearBindings(); in Execute()
213 binder.BindImage(binding++, blurInfo.input, samplerHandle_); in Execute()
214 binder.BindImage(binding++, blurInfo.depth, samplerNearestHandle_); in Execute()
215 binder.BindImage(binding++, velocity, samplerHandle_); in Execute()
216 binder.BindImage(binding++, tileVelocity, samplerHandle_); in Execute()
217 cmdList.UpdateDescriptorSet(binder.GetDescriptorSetHandle(), binder in Execute()
267 auto& binder = *globalSet0_; ExecuteTileVelocity() local
280 auto& binder = *localTileMaxSet1_; ExecuteTileVelocity() local
313 auto& binder = *localTileNeighborhoodSet1_[0U]; ExecuteTileVelocity() local
342 auto& binder = *localTileNeighborhoodSet1_[1U]; ExecuteTileVelocity() local
369 auto& binder = *globalSet0_; UpdateDescriptorSet0() local
[all...]
H A Drender_bloom.cpp153 auto& binder = *binders_.globalSet0;
154 binder.ClearBindings();
156 binder.BindBuffer(binding++, bloomInfo_.globalUbo, 0);
157 binder.BindBuffer(binding++, bloomInfo_.globalUbo, sizeof(GlobalPostProcessStruct));
158 cmdList.UpdateDescriptorSet(binder.GetDescriptorSetHandle(), binder.GetDescriptorSetLayoutBindingResources());
183 auto& binder = *binders_.downscaleAndThreshold; local
184 sets[1u] = binder.GetDescriptorSetHandle();
185 binder.ClearBindings();
188 binder
222 auto& binder = *binders_.downscale[i]; ComputeDownscale() local
258 auto& binder = *binders_.upscale[i]; ComputeUpscale() local
291 auto& binder = *binders_.combine; ComputeCombine() local
363 auto& binder = *binders_.downscaleAndThreshold; RenderDownscaleAndThreshold() local
405 auto& binder = *binders_.downscale[idx]; RenderDownscale() local
455 auto& binder = *binders_.upscale[idx]; RenderUpscale() local
497 auto& binder = *binders_.combine; RenderCombine() local
[all...]
H A Drender_blur.cpp151 auto& binder = *globalSet0_; in UpdateGlobalSet() local
152 binder.ClearBindings(); in UpdateGlobalSet()
154 binder.BindBuffer(binding++, globalUbo_, 0); in UpdateGlobalSet()
155 binder.BindBuffer(binding++, globalUbo_, sizeof(GlobalPostProcessStruct)); in UpdateGlobalSet()
156 cmdList.UpdateDescriptorSet(binder.GetDescriptorSetHandle(), binder.GetDescriptorSetLayoutBindingResources()); in UpdateGlobalSet()
236 auto& binder = *binders_[idx]; in RenderData() local
237 sets[1u] = binder.GetDescriptorSetHandle(); in RenderData()
238 binder.ClearBindings(); in RenderData()
239 binder in RenderData()
323 BlurPass(const ConstDrawInput& di, IDescriptorSetBinder& binder, IDescriptorSetBinder& globalBinder, const RenderHandle psoHandle, const RenderHandle image, const uint32_t inputMipLevel) BlurPass() argument
[all...]
H A Drender_copy.cpp86 // single binder for both in Init()
125 auto& binder = *binder_; in Execute() local
126 binder.ClearBindings(); in Execute()
128 binder.BindSampler( in Execute()
130 binder.BindImage(++binding, copyInfo_.input); in Execute()
132 binder.GetDescriptorSetHandle(), binder.GetDescriptorSetLayoutBindingResources()); in Execute()
133 cmdList.BindDescriptorSet(0u, binder.GetDescriptorSetHandle()); in Execute()
H A Drender_node_shader_passes_generic.cpp190 IPipelineDescriptorSetBinder* binder = sRef.GetPipelineDescriptorSetBinder(); in ExecuteFrameGraphics() local
191 if (!binder) { in ExecuteFrameGraphics()
206 binder->BindBuffer(cpbv.set, cpbv.binding, bRes); in ExecuteFrameGraphics()
218 descriptorSetHandles[setIdx], binder->GetDescriptorSetLayoutBindingResources(currSet.set)); in ExecuteFrameGraphics()
222 cmdList.BindDescriptorSets(binder->GetFirstSet(), { descriptorSetHandles, setCount }); in ExecuteFrameGraphics()
277 IPipelineDescriptorSetBinder* binder = sRef.GetPipelineDescriptorSetBinder(); in ExecuteFrameCompute() local
278 if (!binder) { in ExecuteFrameCompute()
295 binder->BindBuffer(cpbv.set, cpbv.binding, bRes); in ExecuteFrameCompute()
307 descriptorSetHandles[setIdx], binder->GetDescriptorSetLayoutBindingResources(currSet.set)); in ExecuteFrameCompute()
311 cmdList.BindDescriptorSets(binder in ExecuteFrameCompute()
[all...]
H A Drender_node_mip_chain_post_process.cpp317 auto& binder = *globalSet0_; in UpdateGlobalSet() local
318 binder.ClearBindings(); in UpdateGlobalSet()
320 binder.BindBuffer(binding++, BindableBuffer { ubos_.postProcess.GetHandle() }); in UpdateGlobalSet()
321 binder.BindBuffer(binding++, BindableBuffer { ubos_.postProcess.GetHandle(), sizeof(GlobalPostProcessStruct) }); in UpdateGlobalSet()
322 cmdList.UpdateDescriptorSet(binder.GetDescriptorSetHandle(), binder.GetDescriptorSetLayoutBindingResources()); in UpdateGlobalSet()
380 auto& binder = *binders_[idx]; in RenderGraphics() local
382 binder.BindSampler(binding++, BindableSampler { samplerHandle_ }); in RenderGraphics()
383 binder.BindImage(binding++, BindableImage { imageHandle, inputMipLevel }); in RenderGraphics()
385 binder in RenderGraphics()
[all...]
H A Drender_node_single_post_process.cpp315 auto& binder = *pipelineDescriptorSetBinder_; in ExecuteSinglePostProcess() local
316 binder.BindBuffer(GLOBAL_POST_PROCESS_SET, 0u, BindableBuffer { ubos_.postProcess.GetHandle() }); in ExecuteSinglePostProcess()
317 binder.BindBuffer(GLOBAL_POST_PROCESS_SET, 1u, in ExecuteSinglePostProcess()
410 auto& binder = *pipelineDescriptorSetBinder_; in BindDefaultResources() local
413 binder.BindBuffer(set, ref.binding.binding, BindableBuffer { builtInVariables_.defBuffer }); in BindDefaultResources()
421 binder.BindImage(set, ref.binding.binding, bi); in BindDefaultResources()
426 binder.BindSampler(set, ref.binding.binding, BindableSampler { builtInVariables_.defSampler }); in BindDefaultResources()
/foundation/graphic/graphic_3d/lume/LumeRender/src/nodecontext/
H A Drender_node_post_process_util.cpp529 auto& binder = *binders_.globalSet0[POST_PROCESS_UBO_INDICES::PP_COMBINED_IDX]; in ExecuteCombine() local
530 binder.ClearBindings(); in ExecuteCombine()
532 binder.BindBuffer(binding, ubo, 0); in ExecuteCombine()
533 binder.BindBuffer(++binding, ubo, sizeof(GlobalPostProcessStruct) + PP_COMBINED_IDX * UBO_OFFSET_ALIGNMENT); in ExecuteCombine()
534 sets[0U] = binder.GetDescriptorSetHandle(); in ExecuteCombine()
535 resources[0U] = binder.GetDescriptorSetLayoutBindingResources(); in ExecuteCombine()
538 auto& binder = *binders_.combineBinder; in ExecuteCombine() local
539 binder.ClearBindings(); in ExecuteCombine()
543 binder.BindImage(binding++, mainInput); in ExecuteCombine()
544 binder in ExecuteCombine()
588 auto& binder = *binders_.globalSet0[POST_PROCESS_UBO_INDICES::PP_FXAA_IDX]; ExecuteFXAA() local
597 auto& binder = *binders_.fxaaBinder; ExecuteFXAA() local
643 auto& binder = *binders_.globalSet0[POST_PROCESS_UBO_INDICES::PP_TAA_IDX]; ExecuteTAA() local
652 auto& binder = *binders_.taaBinder; ExecuteTAA() local
721 auto& binder = *binders_.globalSet0[POST_PROCESS_UBO_INDICES::PP_DOF_IDX]; ExecuteDofBlur() local
730 auto& binder = *binders_.dofBlurBinder; ExecuteDofBlur() local
788 auto& binder = *binders_.globalSet0[POST_PROCESS_UBO_INDICES::PP_DOF_IDX]; ExecuteDof() local
792 auto& binder = *binders_.dofBinder; ExecuteDof() local
849 auto& binder = *binders_.copyBinder; ExecuteBlit() local
[all...]
/foundation/graphic/graphic_3d/lume/Lume_3D/src/render/node/
H A Drender_copy_helper.cpp97 auto& binder = *binder_; in Execute() local
98 binder.ClearBindings(); in Execute()
100 binder.BindSampler( in Execute()
102 binder.BindImage(++binding, copyInfo_.input); in Execute()
104 binder.GetDescriptorSetHandle(), binder.GetDescriptorSetLayoutBindingResources()); in Execute()
105 cmdList.BindDescriptorSet(0u, binder.GetDescriptorSetHandle()); in Execute()
H A Drender_node_default_material_render_slot.cpp425 auto& binder = binder0; in UpdateSet01() local
427 binder.BindBuffer(bindingIndex++, sceneBuffers_.camera, 0u); in UpdateSet01()
428 binder.BindBuffer(bindingIndex++, cameraBuffers_.generalData, 0u); in UpdateSet01()
435 binder.BindBuffer( in UpdateSet01()
437 binder.BindBuffer(bindingIndex++, { cameraBuffers_.fog, 0u, PipelineStateConstants::GPU_BUFFER_WHOLE_SIZE }); in UpdateSet01()
438 binder.BindBuffer(bindingIndex++, { cameraBuffers_.light, 0u, PipelineStateConstants ::GPU_BUFFER_WHOLE_SIZE }); in UpdateSet01()
439 binder.BindBuffer( in UpdateSet01()
441 binder.BindBuffer( in UpdateSet01()
447 binder.BindImage(bindingIndex++, bi, CORE_ADDITIONAL_DESCRIPTOR_IMMUTABLE_SAMPLER_BIT); in UpdateSet01()
450 binder in UpdateSet01()
459 auto& binder = binder1; UpdateSet01() local
481 auto& binder = *allDescriptorSets_.sets2[objIdx]; UpdateAndBindSet2() local
515 auto& binder = *binderPtr; UpdateAndBindSet3() local
[all...]
H A Drender_node_camera_single_post_process.cpp423 auto& binder = *pipelineDescriptorSetBinder_; in UpdateSet0() local
426 binder.BindBuffer(GLOBAL_POST_PROCESS_SET, bindingIndex++, BindableBuffer { ubos_.postProcess.GetHandle() }); in UpdateSet0()
427 binder.BindBuffer(GLOBAL_POST_PROCESS_SET, bindingIndex++, in UpdateSet0()
431 binder.BindBuffer(GLOBAL_POST_PROCESS_SET, bindingIndex++, { sceneBuffers_.camera }); in UpdateSet0()
432 binder.BindBuffer(GLOBAL_POST_PROCESS_SET, bindingIndex++, { cameraBuffers_.generalData }); in UpdateSet0()
434 binder.BindBuffer(GLOBAL_POST_PROCESS_SET, bindingIndex++, { cameraBuffers_.environment }); in UpdateSet0()
435 binder.BindBuffer(GLOBAL_POST_PROCESS_SET, bindingIndex++, { cameraBuffers_.fog }); in UpdateSet0()
436 binder.BindBuffer(GLOBAL_POST_PROCESS_SET, bindingIndex++, { cameraBuffers_.light }); in UpdateSet0()
437 binder.BindBuffer(GLOBAL_POST_PROCESS_SET, bindingIndex++, { cameraBuffers_.postProcess }); in UpdateSet0()
438 binder in UpdateSet0()
462 auto& binder = *pipelineDescriptorSetBinder_; BindDefaultResources() local
[all...]
H A Drender_node_camera_cubemap.cpp342 auto& binder = *globalSet0_; in UpdateSet0() local
345 binder.BindBuffer(bindingIndex++, BindableBuffer { ubos_.postProcess.GetHandle() }); in UpdateSet0()
346 binder.BindBuffer( in UpdateSet0()
350 binder.BindBuffer(bindingIndex++, { sceneBuffers_.camera }); in UpdateSet0()
351 binder.BindBuffer(bindingIndex++, { cameraBuffers_.generalData }); in UpdateSet0()
353 binder.BindBuffer(bindingIndex++, { cameraBuffers_.environment }); in UpdateSet0()
354 binder.BindBuffer(bindingIndex++, { cameraBuffers_.fog }); in UpdateSet0()
355 binder.BindBuffer(bindingIndex++, { cameraBuffers_.light }); in UpdateSet0()
356 binder.BindBuffer(bindingIndex++, { cameraBuffers_.postProcess }); in UpdateSet0()
357 binder in UpdateSet0()
380 auto& binder = *localSets_[idx]; UpdateSet1() local
[all...]
H A Drender_node_default_shadows_blur.cpp208 auto& binder = *allDescriptorSets_.globalSet; in RenderData() local
209 sets[0u] = binder.GetDescriptorSetHandle(); in RenderData()
210 binder.ClearBindings(); in RenderData()
212 binder.BindBuffer(binding++, bufferHandle_, 0u); in RenderData()
213 binder.BindBuffer(binding++, bufferHandle_, 0u); in RenderData()
214 cmdList.UpdateDescriptorSet(binder.GetDescriptorSetHandle(), binder.GetDescriptorSetLayoutBindingResources()); in RenderData()
232 const ViewportDesc& viewport, const ScissorDesc& scissor, const IDescriptorSetBinder::Ptr& binder, in RenderBlur()
244 auto& bind = *binder; in RenderBlur()
231 RenderBlur(IRenderCommandList& cmdList, const RenderPass& renderPass, const ViewportDesc& viewport, const ScissorDesc& scissor, const IDescriptorSetBinder::Ptr& binder, const Math::Vec4& texSizeInvTexSize, const Math::Vec4& dir, const RenderHandle imageHandle) RenderBlur() argument
H A Drender_node_morph.cpp203 auto& binder = *allDescriptorSets_.params; in ComputeMorphs() local
204 binder.BindBuffer(0u, morphTargetBufferHandle_.GetHandle(), 0u); in ComputeMorphs()
205 cmdList.UpdateDescriptorSet(binder.GetDescriptorSetHandle(), binder.GetDescriptorSetLayoutBindingResources()); in ComputeMorphs()
207 cmdList.BindDescriptorSet(SET_WEIGHTS, binder.GetDescriptorSetHandle()); in ComputeMorphs()
H A Drender_node_default_env.cpp271 auto& binder = *binderPtr; in UpdateAndBindCustomSet() local
276 binder.BindBuffer(idx, currRes, 0); in UpdateAndBindCustomSet()
280 binder.BindImage(idx, currRes, cubemapSampler); in UpdateAndBindCustomSet()
282 binder.BindImage(idx, currRes); in UpdateAndBindCustomSet()
285 binder.BindSampler(idx, currRes); in UpdateAndBindCustomSet()
290 if (binder.GetDescriptorSetLayoutBindingValidity()) { in UpdateAndBindCustomSet()
292 binder.GetDescriptorSetHandle(), binder.GetDescriptorSetLayoutBindingResources()); in UpdateAndBindCustomSet()
293 cmdList.BindDescriptorSet(FIXED_CUSTOM_SET2, binder.GetDescriptorSetHandle()); in UpdateAndBindCustomSet()
H A Drender_node_default_shadows_blur.h71 const RENDER_NS::IDescriptorSetBinder::Ptr& binder, const BASE_NS::Math::Vec4& texSizeInvTexSize,
/foundation/graphic/graphic_2d/rosen/modules/platform/utils/
H A Dflat_obj.h46 binder_uintptr_t binder; member
70 binder_uintptr_t binder; member
/foundation/communication/ipc/ipc/native/c/ipc/src/linux/
H A Dserializer_inner.c52 ptr->binder = (uintptr_t)cookie; in IpcIoPushObject()
116 svc->token = obj->binder; in ReadRemoteObject()
140 ptr->binder = 0; in WriteFileDescriptor()
/foundation/communication/ipc/ipc/native/src/mock/include/
H A Ddbinder_base_invoker_object.h33 binderObject->binder = 0; in TranslateBinderType()
41 binderObject->binder = 0; in ClearBinderType()
71 binderObject->binder = 0; in ClearHandleType()
H A Ddbinder_databus_invoker.h58 std::shared_ptr<DBinderSessionObject> CreateServerSessionObject(binder_uintptr_t binder,
/foundation/communication/ipc/services/dbinder/c/src/
H A Ddbinder_service.c41 uintptr_t binder; member
113 if (node->binder == binderObject) { in GetRegisterService()
772 RPC_LOG_ERROR("binder object malloc failed"); in RegisterRemoteProxy()
776 uintptr_t binder = (uintptr_t)systemAbility; in RegisterRemoteProxy() local
777 binderObject->binder = binder; in RegisterRemoteProxy()
/foundation/graphic/graphic_3d/lume/LumeDotfield/src/render/
H A Drender_node_dotfield_simulation.cpp69 for (auto& binder : setBinders) { in CreateBinders()
70 createDescriptorSet(descriptorSetMgr, pl, bufferSetIndex, binder); in CreateBinders()
/foundation/communication/ipc/ipc/native/c/ipc/src/linux/include/
H A Dsys_binder.h69 binder_uintptr_t binder; member
/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/
H A Dgpu_program_gles.cpp294 struct binder {
301 void FixBindings(T (&types)[N], binder& map, const TypeOfOther& sbSets, string& source)
377 binder storageBindings { map.maxStorageBinding, map.map, bindings };
381 binder imageBindings { map.maxImageBinding, map.map, bindings };
/foundation/communication/ipc/ipc/native/test/unittest/common/
H A Dipc_binder_databus_invoker_unittest.cpp483 binder_uintptr_t binder = 0; in HWTEST_F() local
485 std::shared_ptr<DBinderSessionObject> ret = testInvoker.CreateServerSessionObject(binder, sessionObject); in HWTEST_F()
498 binder_uintptr_t binder = reinterpret_cast<binder_uintptr_t>(temp); in HWTEST_F() local
500 std::shared_ptr<DBinderSessionObject> ret = testInvoker.CreateServerSessionObject(binder, sessionObject); in HWTEST_F()

Completed in 19 milliseconds

12