Home
last modified time | relevance | path

Searched refs:childHandle (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/recording/
H A Dcmd_list_helper.h163 …ared_ptr<CmdListType> GetChildFromCmdList(const CmdList& cmdList, const CmdListHandle& childHandle) in GetChildFromCmdList() argument
165 if (childHandle.size == 0) { in GetChildFromCmdList()
169 const void* childData = cmdList.GetCmdListData(childHandle.offset, childHandle.size); in GetChildFromCmdList()
174 auto childCmdList = CmdListType::CreateFromData({ childData, childHandle.size }); in GetChildFromCmdList()
179 … const void* childImageData = cmdList.GetImageData(childHandle.imageOffset, childHandle.imageSize); in GetChildFromCmdList()
180 if (childHandle.imageSize > 0 && childImageData != nullptr) { in GetChildFromCmdList()
181 if (!childCmdList->SetUpImageData(childImageData, childHandle.imageSize)) { in GetChildFromCmdList()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/recording/
H A Dcmd_list_helper.cpp250 CmdListHandle childHandle = { 0 }; in AddChildToCmdList() local
254 return childHandle; in AddChildToCmdList()
257 childHandle.type = child->GetType(); in AddChildToCmdList()
261 childHandle.offset = cmdList.AddCmdListData(childData); in AddChildToCmdList()
262 childHandle.size = childData.second; in AddChildToCmdList()
264 return childHandle; in AddChildToCmdList()
269 childHandle.imageOffset = cmdList.AddImageData(childImageData.first, childImageData.second); in AddChildToCmdList()
270 childHandle.imageSize = childImageData.second; in AddChildToCmdList()
275childHandle.bitmapOffset = cmdList.AddBitmapData(childBitmapData.first, childBitmapData.second); in AddChildToCmdList()
276 childHandle.bitmapSize = childBitmapData.second; in AddChildToCmdList()
[all …]
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/ecs/systems/
H A Dnode_system.cpp685 auto* childHandle = nodeComponentManager.GetData(current->entity_); in EnableTree() local
686 if (!childHandle) { in EnableTree()
691 if (ScopedHandle<const NodeComponent>(childHandle)->enabled) { in EnableTree()
692 ScopedHandle<NodeComponent>(childHandle)->effectivelyEnabled = true; in EnableTree()