/foundation/graphic/graphic_3d/lume/LumeRender/src/node/ |
H A D | render_motion_blur.cpp | 206 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 D | render_bloom.cpp | 153 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 D | render_blur.cpp | 151 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 D | render_copy.cpp | 86 // 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 D | render_node_shader_passes_generic.cpp | 190 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 D | render_node_mip_chain_post_process.cpp | 317 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 D | render_node_single_post_process.cpp | 315 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 D | render_node_post_process_util.cpp | 529 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 D | render_copy_helper.cpp | 97 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 D | render_node_default_material_render_slot.cpp | 425 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 D | render_node_camera_single_post_process.cpp | 423 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 D | render_node_camera_cubemap.cpp | 342 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 D | render_node_default_shadows_blur.cpp | 208 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 D | render_node_morph.cpp | 203 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 D | render_node_default_env.cpp | 271 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 D | render_node_default_shadows_blur.h | 71 const RENDER_NS::IDescriptorSetBinder::Ptr& binder, const BASE_NS::Math::Vec4& texSizeInvTexSize,
|
/foundation/graphic/graphic_2d/rosen/modules/platform/utils/ |
H A D | flat_obj.h | 46 binder_uintptr_t binder; member 70 binder_uintptr_t binder; member
|
/foundation/communication/ipc/ipc/native/c/ipc/src/linux/ |
H A D | serializer_inner.c | 52 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 D | dbinder_base_invoker_object.h | 33 binderObject->binder = 0;
in TranslateBinderType() 41 binderObject->binder = 0;
in ClearBinderType() 71 binderObject->binder = 0;
in ClearHandleType()
|
H A D | dbinder_databus_invoker.h | 58 std::shared_ptr<DBinderSessionObject> CreateServerSessionObject(binder_uintptr_t binder,
|
/foundation/communication/ipc/services/dbinder/c/src/ |
H A D | dbinder_service.c | 41 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 D | render_node_dotfield_simulation.cpp | 69 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 D | sys_binder.h | 69 binder_uintptr_t binder; member
|
/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/ |
H A D | gpu_program_gles.cpp | 294 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 D | ipc_binder_databus_invoker_unittest.cpp | 483 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()
|