Home
last modified time | relevance | path

Searched refs:childCmdList (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/recording/
H A Dcmd_list_helper.h123 auto childCmdList = GetChildFromCmdList<CmdListType>(cmdList, handler); in GetFromCmdList() local
124 if (childCmdList == nullptr) { in GetFromCmdList()
128 return childCmdList->Playback(); in GetFromCmdList()
174 auto childCmdList = CmdListType::CreateFromData({ childData, childHandle.size }); in GetChildFromCmdList() local
175 if (childCmdList == nullptr) { in GetChildFromCmdList()
181 if (!childCmdList->SetUpImageData(childImageData, childHandle.imageSize)) { in GetChildFromCmdList()
186 return childCmdList; in GetChildFromCmdList()
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/recording/
H A Dcmd_list_helper_test.cpp174 std::shared_ptr<CmdList> childCmdList = nullptr; variable
175 auto handle = CmdListHelper::AddChildToCmdList(*cmdList, childCmdList);
179 childCmdList = DrawCmdList::CreateFromData({ nullptr, 0 }, false);
180 handle = CmdListHelper::AddChildToCmdList(*cmdList, childCmdList);
186 childCmdList->AddOp<ClearOpItem::ConstructorHandle>(Color::COLOR_BLACK);
187 childCmdList->AddImageData(imageData->GetData(), imageData->GetSize());
188 handle = CmdListHelper::AddChildToCmdList(*cmdList, childCmdList);
189 EXPECT_EQ(handle.size, childCmdList->GetData().second);