/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/recording/ |
H A D | record_cmd.cpp | 25 : drawCmdList_(cmdList), cullRect_(bounds) { } in RecordCmd() 29 if (drawCmdList_ == nullptr) { in Playback() 30 LOGE("RecordCmd::Playback failed, drawCmdList_ is nullptr"); in Playback() 33 drawCmdList_->Playback(*canvas); in Playback()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/pipeline/ |
H A D | rs_render_result.h | 28 RSRenderResult(const RectI& r, std::shared_ptr<Drawing::DrawCmdList> dcl) : dirty_(r), drawCmdList_(dcl) {} in RSRenderResult() 37 return drawCmdList_; in GetDrawCmdList() 42 std::shared_ptr<Drawing::DrawCmdList> drawCmdList_; member in OHOS::Rosen::final
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/drawable/ |
H A D | rs_render_node_drawable_adapter.cpp | 187 if (drawCmdList_.empty() || start < 0 || end < 0 || start > end) { in DrawRangeImpl() 191 if (static_cast<uint32_t>(end) > drawCmdList_.size()) { in DrawRangeImpl() 201 drawCmdList_[i](&canvas, &rect); in DrawRangeImpl() 204 drawCmdList_[i](&canvas, &rect); in DrawRangeImpl() 215 __builtin_prefetch(&drawCmdList_[prefetchIndex], 0, 1); in DrawRangeImpl() 218 drawCmdList_[i](&canvas, &rect); in DrawRangeImpl() 224 if (drawCmdList_.empty() || index < 0 || static_cast<uint32_t>(index) >= drawCmdList_.size()) { in DrawImpl() 235 drawCmdList_[index](&canvas, &rect); in DrawImpl() 245 if (drawCmdList_ in DrawContent() [all...] |
H A D | rs_render_node_shadow_drawable.cpp | 58 nodeDrawable_->drawCmdList_[i](&canvas, &rect); in Draw()
|
H A D | rs_property_drawable.cpp | 40 std::swap(drawCmdList_, stagingDrawCmdList_); in OnSync() 48 if (drawCmdList_) { in OnPurge() 49 drawCmdList_->Purge(); in OnPurge() 57 ptr->drawCmdList_->Playback(*canvas); in CreateDrawFunc()
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/recording/ |
H A D | record_cmd.h | 33 std::shared_ptr<DrawCmdList> GetDrawCmdList() const { return drawCmdList_; } in GetDrawCmdList() 38 std::shared_ptr<DrawCmdList> drawCmdList_ = nullptr; member in OHOS::Rosen::Drawing::RecordCmd
|
/foundation/graphic/graphic_2d/rosen/test/render/render/unittest/drawable/ |
H A D | rs_node_drawable1_adapter_test.cpp | 348 EXPECT_TRUE(adapter->drawCmdList_.empty()); 353 adapter->drawCmdList_.emplace_back(drawFuncCallBack); 354 adapter->drawCmdList_.emplace_back(drawFuncCallBack); 355 adapter->drawCmdList_.emplace_back(drawFuncCallBack); 356 adapter->drawCmdList_.emplace_back(drawFuncCallBack); 358 auto end = adapter->drawCmdList_.size(); 359 EXPECT_FALSE(adapter->drawCmdList_.empty() || start < 0 || end < 0 || start > end); 371 adapter->drawCmdList_.swap(drawCmdList); 388 EXPECT_TRUE(adapter->drawCmdList_.empty()); 393 adapter->drawCmdList_ [all...] |
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/drawable/ |
H A D | rs_render_node_drawable_adapter_test.cpp | 319 EXPECT_TRUE(adapter->drawCmdList_.empty()); 324 adapter->drawCmdList_.emplace_back(drawFuncCallBack); 325 adapter->drawCmdList_.emplace_back(drawFuncCallBack); 326 adapter->drawCmdList_.emplace_back(drawFuncCallBack); 327 adapter->drawCmdList_.emplace_back(drawFuncCallBack); 329 auto end = adapter->drawCmdList_.size(); 330 EXPECT_FALSE(adapter->drawCmdList_.empty() || start < 0 || end < 0 || start > end); 342 adapter->drawCmdList_.swap(drawCmdList); 386 EXPECT_TRUE(adapter->drawCmdList_.empty()); 392 adapter->drawCmdList_ [all...] |
/foundation/arkui/ui_lite/frameworks/components/ |
H A D | ui_canvas.cpp | 253 ListNode<DrawCmd>* curDraw = drawCmdList_.Begin(); in ~UICanvas() 254 for (; curDraw != drawCmdList_.End(); curDraw = curDraw->next_) { in ~UICanvas() 259 drawCmdList_.Clear(); in ~UICanvas() 274 ListNode<DrawCmd>* curDraw = drawCmdList_.Begin(); in Clear() 275 for (; curDraw != drawCmdList_.End(); curDraw = curDraw->next_) { in Clear() 280 drawCmdList_.Clear(); in Clear() 340 drawCmdList_.PushBack(cmd); in DrawLine() 375 drawCmdList_.PushBack(cmd); in DrawCurve() 401 drawCmdList_.PushBack(cmd); in DrawRect() 419 drawCmdList_ in DrawRect() [all...] |
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/drawable/ |
H A D | rs_property_drawable.h | 37 RSPropertyDrawable(std::shared_ptr<Drawing::DrawCmdList>&& drawCmdList) : drawCmdList_(std::move(drawCmdList)) {} in RSPropertyDrawable() 47 std::shared_ptr<Drawing::DrawCmdList> drawCmdList_; member in OHOS::Rosen::DrawableV2::RSPropertyDrawable
|
H A D | rs_render_node_drawable_adapter.h | 239 std::vector<Drawing::RecordingCanvas::DrawFunc> drawCmdList_; member in OHOS::Rosen::DrawableV2::SkipType::RSRenderNodeDrawableAdapter
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/drawable/ |
H A D | rs_property_drawable_test.cpp | 60 propertyDrawable->drawCmdList_ = nullptr; in HWTEST_F() 67 propertyDrawable->drawCmdList_ = drawCmdList; in HWTEST_F()
|
/foundation/graphic/graphic_2d/rosen/test/render/render_base/unittest/draw/ |
H A D | rs_property_draw_test.cpp | 60 propertyDrawable->drawCmdList_ = nullptr; in HWTEST_F() 67 propertyDrawable->drawCmdList_ = drawCmdList; in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/core/components/calendar/ |
H A D | rosen_render_calendar.h | 144 std::shared_ptr<RSDrawCmdList> drawCmdList_; member in OHOS::OHOS::Ace::RosenRenderCalendar
|
H A D | rosen_render_calendar.cpp | 145 drawCmdList_ = canvas.GetDrawCmdList(); in Paint() 891 if (!drawCmdList_) { in InitWorkStateStyle() 894 drawCmdList_->Playback(*canvas); in InitWorkStateStyle()
|
/foundation/arkui/ui_lite/interfaces/kits/components/ |
H A D | ui_canvas.h | 548 List<DrawCmd> drawCmdList_; member in OHOS::UICanvas
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/pipeline/ |
H A D | rs_render_node.cpp | 4153 std::swap(stagingDrawCmdList_, renderDrawable_->drawCmdList_); in OnSync() 4187 renderDrawable_->uifirstDrawCmdList_.assign(renderDrawable_->drawCmdList_.begin(), in OnSync() 4188 renderDrawable_->drawCmdList_.end()); in OnSync()
|