Searched refs:DrawColorOpItem (Results 1 – 4 of 4) sorted by relevance
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/recording/ |
H A D | draw_cmd_test.cpp | 515 DrawColorOpItem::ConstructorHandle handle{colorQuad, BlendMode::SRC_OVER}; 516 DrawColorOpItem opItem{&handle}; 694 drawCmdList->AddDrawOp<DrawColorOpItem::ConstructorHandle>(color, BlendMode::SRC_OVER); 725 drawCmdList->AddDrawOp<DrawColorOpItem::ConstructorHandle>(color, BlendMode::SRC_OVER); 726 drawCmdList->AddDrawOp<DrawColorOpItem::ConstructorHandle>(color, BlendMode::DST_OVER); 753 drawCmdList2->AddDrawOp<DrawColorOpItem::ConstructorHandle>(color, BlendMode::SRC_OVER); 832 drawCmdList2->AddDrawOp<DrawColorOpItem::ConstructorHandle>(color2, BlendMode::SRC_OVER);
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/recording/ |
H A D | draw_cmd.cpp | 839 DrawColorOpItem::Unmarshalling, sizeof(DrawColorOpItem::ConstructorHandle)); 841 DrawColorOpItem::DrawColorOpItem(DrawColorOpItem::ConstructorHandle* handle) in DrawColorOpItem() function in OHOS::Rosen::Drawing::DrawColorOpItem 844 std::shared_ptr<DrawOpItem> DrawColorOpItem::Unmarshalling(const DrawCmdList& cmdList, void* handle) in Unmarshalling() 846 …return std::make_shared<DrawColorOpItem>(static_cast<DrawColorOpItem::ConstructorHandle*>(handle)); in Unmarshalling() 849 void DrawColorOpItem::Marshalling(DrawCmdList& cmdList) in Marshalling() 854 void DrawColorOpItem::Playback(Canvas* canvas, const Rect* rect) in Playback()
|
H A D | recording_canvas.cpp | 279 cmdList_->AddDrawOp(std::make_shared<DrawColorOpItem>(color, mode)); in DrawColor() 282 cmdList_->AddDrawOp<DrawColorOpItem::ConstructorHandle>(color, mode); in DrawColor()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/recording/ |
H A D | draw_cmd.h | 587 class DrawColorOpItem : public DrawOpItem { 596 explicit DrawColorOpItem(ConstructorHandle* handle); 597 DrawColorOpItem(ColorQuad color, BlendMode mode) in DrawColorOpItem() function 599 ~DrawColorOpItem() override = default;
|