Searched refs:avaliableSize (Results 1 – 3 of 3) sorted by relevance
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/recording/ |
H A D | draw_cmd_list.cpp | 288 … size_t avaliableSize = opAllocator_.GetSize() - replacedOpListForBuffer_[opReplaceIndex].second; in UnmarshallingDrawOps() local 289 … auto replaceOp = player.Unmarshalling(replaceOpItemPtr->GetType(), replacePtr, avaliableSize); in UnmarshallingDrawOps() 478 size_t avaliableSize = opAllocator_.GetSize() - offset; in GenerateCacheByBuffer() local 479 …bool replaceSuccess = player.GenerateCachedOpItem(curOpItemPtr->GetType(), itemPtr, avaliableSize); in GenerateCacheByBuffer()
|
H A D | draw_cmd.cpp | 296 …GenerateCachedOpItemPlayer::GenerateCachedOpItem(uint32_t type, void* handle, size_t avaliableSize) in GenerateCachedOpItem() argument 302 …if (type == DrawOpItem::TEXT_BLOB_OPITEM && avaliableSize >= sizeof(DrawTextBlobOpItem::Constructo… in GenerateCachedOpItem() 338 …r<DrawOpItem> UnmarshallingPlayer::Unmarshalling(uint32_t type, void* handle, size_t avaliableSize) in Unmarshalling() argument 346 if (unmarshallingPair.first == nullptr || unmarshallingPair.second > avaliableSize) { in Unmarshalling()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/recording/ |
H A D | draw_cmd.h | 152 std::shared_ptr<DrawOpItem> Unmarshalling(uint32_t type, void* handle, size_t avaliableSize); 162 bool GenerateCachedOpItem(uint32_t type, void* handle, size_t avaliableSize);
|