Searched refs:GenerateCachedOpItem (Results 1 – 5 of 5) sorted by relevance
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/recording/ |
H A D | draw_cmd_test.cpp | 239 EXPECT_FALSE(player.GenerateCachedOpItem(DrawOpItem::TEXT_BLOB_OPITEM, nullptr, 0)); 245 EXPECT_FALSE(player.GenerateCachedOpItem(DrawOpItem::TEXT_BLOB_OPITEM, &handle, 0)); 246 EXPECT_FALSE(player.GenerateCachedOpItem(DrawOpItem::PICTURE_OPITEM, &handle, 0)); 666 opItem.GenerateCachedOpItem(&canvas); 670 DrawTextBlobOpItem::ConstructorHandle::GenerateCachedOpItem(*drawCmdList, nullptr, 0, 0, paint); 671 …DrawTextBlobOpItem::ConstructorHandle::GenerateCachedOpItem(*drawCmdList, textBlob.get(), 0, 0, pa… 673 …DrawTextBlobOpItem::ConstructorHandle::GenerateCachedOpItem(*drawCmdList, &textBlob2, 0, 0, paint); 681 handler.GenerateCachedOpItem(*drawCmdList, &canvas);
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/recording/ |
H A D | draw_cmd_list.cpp | 448 auto replaceCache = textBlobOp->GenerateCachedOpItem(canvas); in GenerateCacheByVector() 479 …bool replaceSuccess = player.GenerateCachedOpItem(curOpItemPtr->GetType(), itemPtr, avaliableSize); in GenerateCacheByBuffer()
|
H A D | recording_canvas.cpp | 816 cmdList_->AddDrawOp(op->GenerateCachedOpItem(nullptr)); in GenerateCachedOpForTextblob() 818 DrawTextBlobOpItem::ConstructorHandle::GenerateCachedOpItem(*cmdList_, blob, x, y, paint); in GenerateCachedOpForTextblob()
|
H A D | draw_cmd.cpp | 296 bool GenerateCachedOpItemPlayer::GenerateCachedOpItem(uint32_t type, void* handle, size_t avaliable… in GenerateCachedOpItem() function in OHOS::Rosen::Drawing::GenerateCachedOpItemPlayer 304 return op->GenerateCachedOpItem(cmdList_, canvas_); in GenerateCachedOpItem() 1377 bool DrawTextBlobOpItem::ConstructorHandle::GenerateCachedOpItem( in GenerateCachedOpItem() function in OHOS::Rosen::Drawing::DrawTextBlobOpItem::ConstructorHandle 1432 bool DrawTextBlobOpItem::ConstructorHandle::GenerateCachedOpItem(DrawCmdList& cmdList, Canvas* canv… in GenerateCachedOpItem() function in OHOS::Rosen::Drawing::DrawTextBlobOpItem::ConstructorHandle 1493 std::shared_ptr<DrawImageRectOpItem> DrawTextBlobOpItem::GenerateCachedOpItem(Canvas* canvas) in GenerateCachedOpItem() function in OHOS::Rosen::Drawing::DrawTextBlobOpItem
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/recording/ |
H A D | draw_cmd.h | 162 bool GenerateCachedOpItem(uint32_t type, void* handle, size_t avaliableSize); 869 …static bool GenerateCachedOpItem(DrawCmdList& cmdList, const TextBlob* textBlob, scalar x, scalar … 870 bool GenerateCachedOpItem(DrawCmdList& cmdList, Canvas* canvas); 887 std::shared_ptr<DrawImageRectOpItem> GenerateCachedOpItem(Canvas* canvas);
|