Home
last modified time | relevance | path

Searched refs:cmdList (Results 1 – 25 of 100) sorted by relevance

1234

/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/recording/
H A Dcmd_list_helper_test.cpp270 EXPECT_NE(cmdList, nullptr);
327 EXPECT_NE(cmdList, nullptr);
582 auto sptr = cmdList->GetImage(handle);
585 sptr = cmdList->GetImage(handle);
593 handle = cmdList->AddImage(image);
594 handle = cmdList->AddImage(image);
595 sptr = cmdList->GetImage(handle);
656 (void)cmdList->GetOpCnt();
658 cmdList->CopyObjectTo(*cmdList1);
672 cmdList->AddCmdListData(listData);
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/recording/
H A Dcmd_list_helper.h48 CmdList& cmdList, const std::shared_ptr<RecordCmd>& recordCmd);
50 const CmdList& cmdList, const OpDataHandle& recordCmdHandle);
52 CmdList& cmdList, const std::shared_ptr<ExtendImageObject>& object);
54 const CmdList& cmdList, const OpDataHandle& objectHandle);
58 const CmdList& cmdList, const OpDataHandle& objectHandle);
65 CmdList& cmdList, const std::shared_ptr<ExtendDrawFuncObj>& object);
67 const CmdList& cmdList, uint32_t objectHandle);
81 return AddChildToCmdList(cmdList, recording.GetCmdList()); in AddRecordedToCmdList()
99 return AddChildToCmdList(cmdList, recording->GetCmdList()); in AddRecordedToCmdList()
117 return AddChildToCmdList(cmdList, recording->GetCmdList()); in AddRecordedToCmdList()
[all …]
H A Ddraw_cmd.h107 virtual void Marshalling(DrawCmdList& cmdList) = 0;
149 UnmarshallingPlayer(const DrawCmdList& cmdList);
221 void Marshalling(DrawCmdList& cmdList) override;
249 void Marshalling(DrawCmdList& cmdList) override;
271 void Marshalling(DrawCmdList& cmdList) override;
294 void Marshalling(DrawCmdList& cmdList) override;
316 void Marshalling(DrawCmdList& cmdList) override;
337 void Marshalling(DrawCmdList& cmdList) override;
360 void Marshalling(DrawCmdList& cmdList) override;
386 void Marshalling(DrawCmdList& cmdList) override;
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/recording/
H A Ddraw_cmd.cpp336 UnmarshallingPlayer::UnmarshallingPlayer(const DrawCmdList& cmdList) : cmdList_(cmdList) {} in UnmarshallingPlayer() argument
714 cmdList.AddOp<ConstructorHandle>( in Marshalling()
751 cmdList.AddOp<ConstructorHandle>( in Marshalling()
1808 cmdList.AddOp<ConstructorHandle>(); in Marshalling()
1856 cmdList.AddOp<ConstructorHandle>(dx_, dy_); in Marshalling()
1878 cmdList.AddOp<ConstructorHandle>(sx_, sy_); in Marshalling()
1943 cmdList.AddOp<ConstructorHandle>(); in Marshalling()
1965 cmdList.AddOp<ConstructorHandle>(color_); in Marshalling()
1986 cmdList.AddOp<ConstructorHandle>(); in Marshalling()
2045 cmdList.AddOp<ConstructorHandle>(); in Marshalling()
[all …]
H A Dcmd_list_helper.cpp62 return cmdList.AddImage(image); in AddImageToCmdList()
71 return CmdListHelper::AddImageToCmdList(cmdList, *image); in AddImageToCmdList()
92 const CmdList& cmdList, const OpDataHandle& opDataHandle) in GetVerticesFromCmdList() argument
151 auto index = cmdList.AddRecordCmd(recordCmd); in AddRecordCmdToCmdList()
163 auto index = cmdList.AddImageObject(object); in AddImageObjectToCmdList()
176 auto index = cmdList.AddImageBaseObj(object); in AddImageBaseObjToCmdList()
855 return cmdList.AddSurfaceBufferEntry(surfaceBuffer); in AddSurfaceBufferEntryToCmdList()
859 const CmdList& cmdList, uint32_t surfaceBufferHandle) in GetSurfaceBufferEntryFromCmdList() argument
867 return cmdList.AddDrawFuncOjb(object); in AddDrawFuncObjToCmdList()
871 const CmdList& cmdList, uint32_t objectHandle) in GetDrawFuncObjFromCmdList() argument
[all …]
H A Dmask_cmd_list.cpp30 auto cmdList = std::make_shared<MaskCmdList>(); in CreateFromData() local
34 cmdList->opAllocator_.BuildFromData(data.first, data.second); in CreateFromData()
36 return cmdList; in CreateFromData()
91 : path_(path), brush_(brush), pen_(defaultPen), cmdList_(cmdList) {} in MaskPlayer()
94 : path_(path), brush_(brush), pen_(pen), cmdList_(cmdList) {} in MaskPlayer()
127 cmdList, brushHandle_.colorSpaceHandle); in Playback()
129 cmdList, brushHandle_.shaderEffectHandle); in Playback()
131 cmdList, brushHandle_.colorFilterHandle); in Playback()
133 cmdList, brushHandle_.imageFilterHandle); in Playback()
135 cmdList, brushHandle_.maskFilterHandle); in Playback()
[all …]
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/node/
H A Drender_staging.cpp48 cmdList.AddCustomBarrierPoint(); in ExplicitBarrierUndefinedImageToTransferDst()
60 cmdList.AddCustomBarrierPoint(); in ExplicitBarrierTransferDstImageToTransferSrc()
121 cmdList.AddCustomBarrierPoint(); in GenerateMipmaps()
359 cmdList.AddCustomBarrierPoint(); in CopyStagingToImages()
391 cmdList.AddCustomBarrierPoint(); in CopyStagingToImages()
416 cmdList.AddCustomBarrierPoint(); in CopyImagesToBuffers()
444 cmdList.AddCustomBarrierPoint(); in CopyImagesToBuffers()
476 cmdList.AddCustomBarrierPoint(); in CopyImagesToImages()
509 cmdList.AddCustomBarrierPoint(); in CopyImagesToImages()
554 cmdList.AddCustomBarrierPoint(); in CopyBuffersToBuffers()
[all …]
H A Drender_blur.cpp108 UpdateGlobalSet(cmdList); in Execute()
251 cmdList.Draw(3u, 1u, 0u, 0u); in RenderData()
252 cmdList.EndRenderPass(); in RenderData()
289 cmdList.AddCustomBarrierPoint(); in DownscaleBarrier()
301 cmdList.AddCustomBarrierPoint(); in BlurHorizontalBarrier()
313 cmdList.AddCustomBarrierPoint(); in BlurVerticalBarrier()
317 IRenderCommandList& cmdList; member
326 di.cmdList.BeginRenderPass( in BlurPass()
328 di.cmdList.BindPipeline(psoHandle); in BlurPass()
343 di.cmdList.Draw(3u, 1u, 0u, 0u); in BlurPass()
[all …]
H A Drender_motion_blur.cpp202 cmdList.BindPipeline(renderData.pso); in Execute()
220 cmdList.BindDescriptorSets(0u, sets); in Execute()
233 cmdList.Draw(3u, 1u, 0u, 0u); in Execute()
234 cmdList.EndRenderPass(); in Execute()
283 cmdList.UpdateDescriptorSet( in ExecuteTileVelocity()
297 cmdList.Draw(3U, 1U, 0U, 0U); in ExecuteTileVelocity()
298 cmdList.EndRenderPass(); in ExecuteTileVelocity()
310 cmdList.BindPipeline(pso); in ExecuteTileVelocity()
331 cmdList.EndRenderPass(); in ExecuteTileVelocity()
339 cmdList.BindPipeline(pso); in ExecuteTileVelocity()
[all …]
H A Drender_bloom.cpp166 UpdateGlobalSet(cmdList); in ComputeBloom()
169 ComputeDownscale(pc, cmdList); in ComputeBloom()
170 ComputeUpscale(pc, cmdList); in ComputeBloom()
174 ComputeCombine(pc, cmdList); in ComputeBloom()
333 UpdateGlobalSet(cmdList); in GraphicsBloom()
379 cmdList.Draw(3u, 1u, 0u, 0u); in RenderDownscaleAndThreshold()
380 cmdList.EndRenderPass(); in RenderDownscaleAndThreshold()
420 cmdList.EndRenderPass(); in RenderDownscale()
474 cmdList.EndRenderPass(); in RenderUpscale()
517 cmdList.Draw(3u, 1u, 0u, 0u); in RenderCombine()
[all …]
H A Drender_node_shader_passes_generic.cpp139 ExecuteFrameGraphics(cmdList); in ExecuteFrame()
140 ExecuteFrameCompute(cmdList); in ExecuteFrame()
175 cmdList.SetDynamicStateViewport(viewportDesc); in ExecuteFrameGraphics()
176 cmdList.SetDynamicStateScissor(scissorDesc); in ExecuteFrameGraphics()
178 cmdList.SetDynamicStateFragmentShadingRate( in ExecuteFrameGraphics()
196 cmdList.BindPipeline(psoHandle); in ExecuteFrameGraphics()
217 cmdList.UpdateDescriptorSet( in ExecuteFrameGraphics()
241 cmdList.BindIndexBuffer( in ExecuteFrameGraphics()
256 cmdList.EndRenderPass(); in ExecuteFrameGraphics()
285 cmdList.BindPipeline(psoHandle); in ExecuteFrameCompute()
[all …]
H A Drender_bloom.h47 void Execute(IRenderNodeContextManager& renderNodeContextMgr, IRenderCommandList& cmdList, in RENDER_BEGIN_NAMESPACE()
55 void ComputeBloom(IRenderNodeContextManager& renderNodeContextMgr, IRenderCommandList& cmdList); in RENDER_BEGIN_NAMESPACE()
56 void ComputeDownscaleAndThreshold(const PushConstant& pc, IRenderCommandList& cmdList); in RENDER_BEGIN_NAMESPACE()
57 void ComputeDownscale(const PushConstant& pc, IRenderCommandList& cmdList); in RENDER_BEGIN_NAMESPACE()
58 void ComputeUpscale(const PushConstant& pc, IRenderCommandList& cmdList); in RENDER_BEGIN_NAMESPACE()
59 void ComputeCombine(const PushConstant& pc, IRenderCommandList& cmdList); in RENDER_BEGIN_NAMESPACE()
61 … void GraphicsBloom(IRenderNodeContextManager& renderNodeContextMgr, IRenderCommandList& cmdList); in RENDER_BEGIN_NAMESPACE()
64 … void RenderDownscale(RenderPass& renderPass, const PushConstant& pc, IRenderCommandList& cmdList); in RENDER_BEGIN_NAMESPACE()
65 void RenderUpscale(RenderPass& renderPass, const PushConstant& pc, IRenderCommandList& cmdList); in RENDER_BEGIN_NAMESPACE()
66 void RenderCombine(RenderPass& renderPass, const PushConstant& pc, IRenderCommandList& cmdList); in RENDER_BEGIN_NAMESPACE()
[all …]
H A Drender_node_mip_chain_post_process.cpp208 RenderGraphics(cmdList); in ExecuteFrame()
210 RenderCompute(cmdList); in ExecuteFrame()
347 UpdateGlobalSet(cmdList); in RenderGraphics()
374 cmdList.AddCustomBarrierPoint(); in RenderGraphics()
384 cmdList.UpdateDescriptorSet( in RenderGraphics()
398 cmdList.BindPipeline(pipelineData_.pso); in RenderGraphics()
405 cmdList.BindDescriptorSets(0u, sets); in RenderGraphics()
415 cmdList.Draw(3U, 1U, 0U, 0U); in RenderGraphics()
416 cmdList.EndRenderPass(); in RenderGraphics()
425 cmdList.AddCustomBarrierPoint(); in RenderGraphics()
[all …]
H A Drender_copy.cpp99 …d RenderCopy::Execute(IRenderNodeContextManager& renderNodeContextMgr, IRenderCommandList& cmdList) in Execute() argument
121cmdList.BeginRenderPass(renderPass.renderPassDesc, renderPass.subpassStartIndex, renderPass.subpas… in Execute()
122 cmdList.BindPipeline(pso); in Execute()
131 cmdList.UpdateDescriptorSet( in Execute()
133 cmdList.BindDescriptorSet(0u, binder.GetDescriptorSetHandle()); in Execute()
140 cmdList.SetDynamicStateViewport(viewportDesc); in Execute()
141 cmdList.SetDynamicStateScissor(scissorDesc); in Execute()
150 cmdList.PushConstantData(pl.pushConstant, arrayviewU8(pc)); in Execute()
153 cmdList.Draw(3u, 1u, 0u, 0u); in Execute()
154 cmdList.EndRenderPass(); in Execute()
H A Drender_node_back_buffer.cpp92 void RenderNodeBackBuffer::ExecuteFrame(IRenderCommandList& cmdList) in ExecuteFrame() argument
115 cmdList.UpdateDescriptorSet(descHandle, bindings); in ExecuteFrame()
118cmdList.BeginRenderPass(renderPass_.renderPassDesc, renderPass_.subpassStartIndex, renderPass_.sub… in ExecuteFrame()
119 cmdList.BindPipeline(psoHandle_); in ExecuteFrame()
122cmdList.BindDescriptorSets(firstSetIndex, pipelineDescriptorSetBinder_->GetDescriptorSetHandles()); in ExecuteFrame()
125 cmdList.SetDynamicStateViewport(currentViewportDesc_); in ExecuteFrame()
126 cmdList.SetDynamicStateScissor(currentScissorDesc_); in ExecuteFrame()
134cmdList.PushConstant(pipelineLayout_.pushConstant, reinterpret_cast<const uint8_t*>(&pushData)); in ExecuteFrame()
137 cmdList.Draw(3u, 1u, 0u, 0u); // vertexCount 3, drawing one triangle in ExecuteFrame()
138 cmdList.EndRenderPass(); in ExecuteFrame()
H A Drender_node_end_frame_staging.cpp48 void RenderNodeEndFrameStaging::ExecuteFrame(IRenderCommandList& cmdList) in ExecuteFrame() argument
71 renderStaging.CopyStagingToImages(cmdList, gpuResourceMgr, staging, renderDataStoreStaging); in ExecuteFrame()
72 renderStaging.CopyImagesToBuffers(cmdList, gpuResourceMgr, staging, renderDataStoreStaging); in ExecuteFrame()
73 renderStaging.CopyImagesToImages(cmdList, gpuResourceMgr, staging, renderDataStoreStaging); in ExecuteFrame()
75 renderStaging.CopyBuffersToBuffers(cmdList, staging, renderDataStoreStaging); in ExecuteFrame()
H A Drender_staging.h46 …void CopyStagingToImages(IRenderCommandList& cmdList, const IRenderNodeGpuResourceManager& gpuReso…
48 void CopyBuffersToBuffers(IRenderCommandList& cmdList, const StagingConsumeStruct& stagingData,
50 …void CopyImagesToBuffers(IRenderCommandList& cmdList, const IRenderNodeGpuResourceManager& gpuReso…
52 …void CopyImagesToImages(IRenderCommandList& cmdList, const IRenderNodeGpuResourceManager& gpuResou…
55 … void ClearImages(IRenderCommandList& cmdList, const IRenderNodeGpuResourceManager& gpuResourceMgr,
H A Drender_node_fullscreen_generic.cpp90 void RenderNodeFullscreenGeneric::ExecuteFrame(IRenderCommandList& cmdList) in ExecuteFrame() argument
114 cmdList.UpdateDescriptorSet(descHandle, bindings); in ExecuteFrame()
124cmdList.BeginRenderPass(renderPass.renderPassDesc, renderPass.subpassStartIndex, renderPass.subpas… in ExecuteFrame()
127 cmdList.BindPipeline(psoHandle); in ExecuteFrame()
130cmdList.BindDescriptorSets(firstSetIndex, pipelineDescriptorSetBinder_->GetDescriptorSetHandles()); in ExecuteFrame()
133 cmdList.SetDynamicStateViewport(viewportDesc); in ExecuteFrame()
134 cmdList.SetDynamicStateScissor(scissorDesc); in ExecuteFrame()
136 cmdList.SetDynamicStateFragmentShadingRate( in ExecuteFrame()
149cmdList.PushConstant(pipelineData_.pipelineLayoutData.pushConstant, dataView.data()); in ExecuteFrame()
154 cmdList.Draw(3u, 1u, 0u, 0u); // vertex count, instance count, first vertex, first instance in ExecuteFrame()
[all …]
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/render/node/
H A Drender_node_default_shadows_blur.cpp223 ExplicitOutputBarrier(cmdList, inputHandle); in RenderData()
239 cmdList.SetDynamicStateViewport(viewport); in RenderBlur()
240 cmdList.SetDynamicStateScissor(scissor); in RenderBlur()
241 cmdList.BindPipeline(shaderData_.psoHandle); in RenderBlur()
252 cmdList.BindDescriptorSets(0u, sets); in RenderBlur()
257 cmdList.Draw(3u, 1u, 0u, 0u); in RenderBlur()
258 cmdList.EndRenderPass(); in RenderBlur()
268 cmdList.CustomImageBarrier(handle, dst, range); in ExplicitInputBarrier()
270 cmdList.AddCustomBarrierPoint(); in ExplicitInputBarrier()
280 cmdList.CustomImageBarrier(handle, dst, range); in ExplicitOutputBarrier()
[all …]
H A Drender_copy_helper.cpp78 …erCopyHelper::Execute(IRenderNodeContextManager& renderNodeContextMgr, IRenderCommandList& cmdList) in Execute() argument
93cmdList.BeginRenderPass(renderPass.renderPassDesc, renderPass.subpassStartIndex, renderPass.subpas… in Execute()
94 cmdList.BindPipeline(renderData_.pso); in Execute()
103 cmdList.UpdateDescriptorSet( in Execute()
105 cmdList.BindDescriptorSet(0u, binder.GetDescriptorSetHandle()); in Execute()
112 cmdList.SetDynamicStateViewport(viewportDesc); in Execute()
113 cmdList.SetDynamicStateScissor(scissorDesc); in Execute()
115 cmdList.Draw(3u, 1u, 0u, 0u); in Execute()
116 cmdList.EndRenderPass(); in Execute()
H A Drender_node_camera_cubemap.cpp208 ExecuteSinglePostProcess(cmdList); in ExecuteFrame()
249 UpdateSet0(cmdList); in ExecuteSinglePostProcess()
255 UpdateSet1(cmdList, mipIdx); in ExecuteSinglePostProcess()
260 cmdList.BeginDisableAutomaticBarrierPoints(); in ExecuteSinglePostProcess()
267 cmdList.AddCustomBarrierPoint(); in ExecuteSinglePostProcess()
280 cmdList.BindPipeline(psoHandle_); in ExecuteSinglePostProcess()
285 cmdList.BindDescriptorSets(0u, sets); in ExecuteSinglePostProcess()
302 cmdList.Draw(3u, 1u, 0u, 0u); in ExecuteSinglePostProcess()
303 cmdList.EndRenderPass(); in ExecuteSinglePostProcess()
311 cmdList.AddCustomBarrierPoint(); in ExecuteSinglePostProcess()
[all …]
H A Drender_node_morph.cpp152 void RenderNodeMorph::ExecuteFrame(IRenderCommandList& cmdList) in ExecuteFrame() argument
170 ComputeMorphs(cmdList, submeshes); in ExecuteFrame()
198 void RenderNodeMorph::ComputeMorphs(IRenderCommandList& cmdList, array_view<const RenderDataMorph::… in ComputeMorphs() argument
200 cmdList.BindPipeline(psoHandle_); in ComputeMorphs()
205cmdList.UpdateDescriptorSet(binder.GetDescriptorSetHandle(), binder.GetDescriptorSetLayoutBindingR… in ComputeMorphs()
207 cmdList.BindDescriptorSet(SET_WEIGHTS, binder.GetDescriptorSetHandle()); in ComputeMorphs()
228 cmdList.UpdateDescriptorSet( in ComputeMorphs()
244 cmdList.UpdateDescriptorSet( in ComputeMorphs()
248 cmdList.BindDescriptorSets(SET_INPUTS, sets); in ComputeMorphs()
252cmdList.PushConstant(pipelineLayout_.pushConstant, reinterpret_cast<const uint8_t*>(&pushData)); in ComputeMorphs()
[all …]
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/nodecontext/
H A Drender_node_post_process_util.cpp564 cmdList.Draw(3u, 1u, 0u, 0u); in ExecuteCombine()
565 cmdList.EndRenderPass(); in ExecuteCombine()
619 cmdList.Draw(3u, 1u, 0u, 0u); in ExecuteFXAA()
620 cmdList.EndRenderPass(); in ExecuteFXAA()
679 cmdList.Draw(3u, 1u, 0u, 0u); in ExecuteTAA()
680 cmdList.EndRenderPass(); in ExecuteTAA()
757 cmdList.Draw(3u, 1u, 0u, 0u); in ExecuteDofBlur()
758 cmdList.EndRenderPass(); in ExecuteDofBlur()
821 cmdList.EndRenderPass(); in ExecuteDof()
866 cmdList.EndRenderPass(); in ExecuteBlit()
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/pipeline/
H A Drs_draw_cmd.cpp526 void DrawImageWithParmOpItem::Marshalling(DrawCmdList& cmdList) in Marshalling() argument
529 GenerateHandleFromPaint(cmdList, paint_, paintHandle); in Marshalling()
580 GenerateHandleFromPaint(cmdList, paint_, paintHandle); in Marshalling()
630 void DrawPixelMapRectOpItem::Marshalling(DrawCmdList& cmdList) in Marshalling() argument
633 GenerateHandleFromPaint(cmdList, paint_, paintHandle); in Marshalling()
677 void DrawFuncOpItem::Marshalling(DrawCmdList& cmdList) in Marshalling() argument
680 cmdList.AddOp<ConstructorHandle>(objectHandle); in Marshalling()
718 return std::make_shared<DrawSurfaceBufferOpItem>(cmdList, in Unmarshalling()
722 void DrawSurfaceBufferOpItem::Marshalling(DrawCmdList& cmdList) in Marshalling() argument
725 GenerateHandleFromPaint(cmdList, paint_, paintHandle); in Marshalling()
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/pipeline/
H A Drs_draw_cmd.h149 DrawImageWithParmOpItem(const DrawCmdList& cmdList, ConstructorHandle* handle);
154 static std::shared_ptr<DrawOpItem> Unmarshalling(const DrawCmdList& cmdList, void* handle);
155 void Marshalling(DrawCmdList& cmdList) override;
175 DrawPixelMapWithParmOpItem(const DrawCmdList& cmdList, ConstructorHandle* handle);
181 void Marshalling(DrawCmdList& cmdList) override;
208 DrawPixelMapRectOpItem(const DrawCmdList& cmdList, ConstructorHandle* handle);
214 void Marshalling(DrawCmdList& cmdList) override;
237 DrawFuncOpItem(const DrawCmdList& cmdList, ConstructorHandle* handle);
242 void Marshalling(DrawCmdList& cmdList) override;
284 DrawSurfaceBufferOpItem(const DrawCmdList& cmdList, ConstructorHandle* handle);
[all …]

1234