Home
last modified time | relevance | path

Searched refs:drawCmds (Results 1 – 8 of 8) sorted by relevance

/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/command/
H A Drs_canvas_node_command_test.cpp48 std::shared_ptr<Drawing::DrawCmdList> drawCmds = nullptr; variable
103 std::shared_ptr<Drawing::DrawCmdList> drawCmds; variable
110 res = RSCanvasNodeCommandHelper::AddCmdToSingleFrameComposer(node, drawCmds, type);
134 std::shared_ptr<Drawing::DrawCmdList> drawCmds = nullptr; variable
136 RSCanvasNodeCommandHelper::UpdateRecording(context, id, drawCmds, modifierType);
137 EXPECT_TRUE(drawCmds == nullptr);
139 RSCanvasNodeCommandHelper::UpdateRecording(context, 0, drawCmds, modifierType);
140 EXPECT_TRUE(drawCmds == nullptr);
142 drawCmds = std::make_shared<Drawing::DrawCmdList>();
143 RSCanvasNodeCommandHelper::UpdateRecording(context, id, drawCmds, modifierType);
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/command/
H A Drs_canvas_node_command.cpp32 std::shared_ptr<Drawing::DrawCmdList> drawCmds, RSModifierType type) in AddCmdToSingleFrameComposer() argument
36 node->UpdateRecording(drawCmds, type, true); in AddCmdToSingleFrameComposer()
38 node->UpdateRecording(drawCmds, type); in AddCmdToSingleFrameComposer()
44 node->UpdateRecording(drawCmds, type); in AddCmdToSingleFrameComposer()
51 …RSContext& context, NodeId id, std::shared_ptr<Drawing::DrawCmdList> drawCmds, uint16_t modifierTy… in UpdateRecording() argument
56 if (AddCmdToSingleFrameComposer(node, drawCmds, type)) { in UpdateRecording()
60 node->UpdateRecording(drawCmds, type); in UpdateRecording()
62 if (!drawCmds) { in UpdateRecording()
65 drawCmds->UpdateNodeIdToPicture(id); in UpdateRecording()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/pipeline/
H A Drs_canvas_render_node.cpp56 void RSCanvasRenderNode::UpdateRecording(std::shared_ptr<Drawing::DrawCmdList> drawCmds, in UpdateRecording() argument
59 if (!drawCmds || drawCmds->IsEmpty()) { in UpdateRecording()
62 …auto renderProperty = std::make_shared<RSRenderProperty<Drawing::DrawCmdListPtr>>(drawCmds, ANONYM… in UpdateRecording()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/command/
H A Drs_canvas_node_command.h43 …RSContext& context, NodeId id, std::shared_ptr<Drawing::DrawCmdList> drawCmds, uint16_t modifierTy…
48 std::shared_ptr<Drawing::DrawCmdList> drawCmds, RSModifierType type);
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/pipeline/
H A Drs_canvas_render_node_test.cpp75 auto drawCmds = std::make_shared<Drawing::DrawCmdList>(w, h); variable
78 drawCmds->drawOpItems_.emplace_back(drawOpItem);
79 EXPECT_TRUE(!drawCmds->IsEmpty());
80 canvasRenderNode->UpdateRecording(drawCmds, RSModifierType::INVALID);
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rscommand_fuzzer/
H A Drscommand_fuzzer.cpp182 std::shared_ptr<Drawing::DrawCmdList> drawCmds; in RSCanvasNodeCommandFuzzTest() local
183 …RSCanvasNodeCommandHelper::UpdateRecording(context, static_cast<NodeId>(id), drawCmds, static_cast… in RSCanvasNodeCommandFuzzTest()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/pipeline/
H A Drs_canvas_render_node.h41 void UpdateRecording(std::shared_ptr<Drawing::DrawCmdList> drawCmds,
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/pipeline/rsrendernode_fuzzer/
H A Drsrendernode_fuzzer.cpp151 std::shared_ptr<Drawing::DrawCmdList> drawCmds = Drawing::DrawCmdList::CreateFromData( in RSCanvasRenderNodeFuzzTest() local
159 node.UpdateRecording(drawCmds, type); in RSCanvasRenderNodeFuzzTest()