/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/recording/ |
H A D | draw_cmd_test.cpp | 53 auto drawCmdList = DrawCmdList::CreateFromData({ nullptr, 0 }, false); in HWTEST_F() local 54 drawCmdList->SetWidth(10); in HWTEST_F() 55 drawCmdList->SetHeight(20); in HWTEST_F() 56 drawCmdList->AddOp<ClearOpItem::ConstructorHandle>(Color::COLOR_BLACK); in HWTEST_F() 57 auto cmdData = drawCmdList->GetData(); in HWTEST_F() 61 newDrawCmdList->SetWidth(drawCmdList->GetWidth()); in HWTEST_F() 62 newDrawCmdList->SetHeight(drawCmdList->GetHeight()); in HWTEST_F() 63 EXPECT_EQ(newDrawCmdList->GetWidth(), drawCmdList->GetWidth()); in HWTEST_F() 64 EXPECT_EQ(newDrawCmdList->GetHeight(), drawCmdList->GetHeight()); in HWTEST_F() 72 auto imageData = drawCmdList in HWTEST_F() 85 auto drawCmdList = DrawCmdList::CreateFromData({ nullptr, 0 }, false); HWTEST_F() local 108 auto drawCmdList = DrawCmdList::CreateFromData({ nullptr, 0 }, false); HWTEST_F() local 125 auto drawCmdList = DrawCmdList::CreateFromData({ nullptr, 0 }, false); HWTEST_F() local 140 auto drawCmdList = DrawCmdList::CreateFromData({ nullptr, 0 }, false); HWTEST_F() local 167 auto drawCmdList = recordingCanvas->GetDrawCmdList(); HWTEST_F() local 205 auto drawCmdList = recordingCanvas->GetDrawCmdList(); HWTEST_F() local 232 auto drawCmdList = DrawCmdList::CreateFromData({ nullptr, 0 }, false); HWTEST_F() local 252 auto drawCmdList = DrawCmdList::CreateFromData({ nullptr, 0 }, false); HWTEST_F() local 277 auto drawCmdList = DrawCmdList::CreateFromData({ nullptr, 0 }, false); HWTEST_F() local 296 auto drawCmdList = DrawCmdList::CreateFromData({ nullptr, 0 }, false); HWTEST_F() local 310 auto drawCmdList = DrawCmdList::CreateFromData({ nullptr, 0 }, false); HWTEST_F() local 324 auto drawCmdList = DrawCmdList::CreateFromData({ nullptr, 0 }, false); HWTEST_F() local 348 auto drawCmdList = DrawCmdList::CreateFromData({ nullptr, 0 }, false); HWTEST_F() local 386 auto drawCmdList = DrawCmdList::CreateFromData({ nullptr, 0 }, false); HWTEST_F() local 402 auto drawCmdList = DrawCmdList::CreateFromData({ nullptr, 0 }, false); HWTEST_F() local 418 auto drawCmdList = DrawCmdList::CreateFromData({ nullptr, 0 }, false); HWTEST_F() local 434 auto drawCmdList = DrawCmdList::CreateFromData({ nullptr, 0 }, false); HWTEST_F() local 450 auto drawCmdList = DrawCmdList::CreateFromData({ nullptr, 0 }, false); HWTEST_F() local 465 auto drawCmdList = DrawCmdList::CreateFromData({ nullptr, 0 }, false); HWTEST_F() local 480 auto drawCmdList = DrawCmdList::CreateFromData({ nullptr, 0 }, false); HWTEST_F() local 495 auto drawCmdList = DrawCmdList::CreateFromData({ nullptr, 0 }, false); HWTEST_F() local 512 auto drawCmdList = DrawCmdList::CreateFromData({ nullptr, 0 }, false); HWTEST_F() local 529 auto drawCmdList = DrawCmdList::CreateFromData({ nullptr, 0 }, false); HWTEST_F() local 554 auto drawCmdList = DrawCmdList::CreateFromData({ nullptr, 0 }, false); HWTEST_F() local 573 auto drawCmdList = DrawCmdList::CreateFromData({ nullptr, 0 }, false); HWTEST_F() local 588 auto drawCmdList = DrawCmdList::CreateFromData({ nullptr, 0 }, false); HWTEST_F() local 604 auto drawCmdList = DrawCmdList::CreateFromData({ nullptr, 0 }, false); HWTEST_F() local 629 auto drawCmdList = DrawCmdList::CreateFromData({ nullptr, 0 }, false); HWTEST_F() local 643 auto drawCmdList = DrawCmdList::CreateFromData({ nullptr, 0 }, false); HWTEST_F() local 684 auto drawCmdList = new DrawCmdList(DrawCmdList::UnmarshalMode::DEFERRED); HWTEST_F() local 715 auto drawCmdList = new DrawCmdList(DrawCmdList::UnmarshalMode::DEFERRED); HWTEST_F() local 756 auto drawCmdList = new DrawCmdList(DrawCmdList::UnmarshalMode::IMMEDIATE); HWTEST_F() local 790 auto drawCmdList = new DrawCmdList(DrawCmdList::UnmarshalMode::IMMEDIATE); HWTEST_F() local 834 auto drawCmdList = DrawCmdList::CreateFromData({ nullptr, 0 }, false); HWTEST_F() local 875 auto drawCmdList = DrawCmdList::CreateFromData({ nullptr, 0 }, false); HWTEST_F() local [all...] |
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/recording/drawcmdlist_fuzzer/ |
H A D | draw_cmd_list_fuzzer.cpp | 55 auto drawCmdList = DrawCmdList::CreateFromData(cmdListData, static_cast<bool>(isCopy)); in DrawCmdListFuzzTest000() local 56 drawCmdList->GetType(); in DrawCmdListFuzzTest000() 57 drawCmdList->ClearOp(); in DrawCmdListFuzzTest000() 58 drawCmdList->GetOpItemSize(); in DrawCmdListFuzzTest000() 59 drawCmdList->GetOpsWithDesc(); in DrawCmdListFuzzTest000() 60 drawCmdList->MarshallingDrawOps(); in DrawCmdListFuzzTest000() 61 drawCmdList->UnmarshallingDrawOps(); in DrawCmdListFuzzTest000() 62 drawCmdList->IsEmpty(); in DrawCmdListFuzzTest000() 63 drawCmdList->SetWidth(width); in DrawCmdListFuzzTest000() 64 drawCmdList in DrawCmdListFuzzTest000() 102 auto drawCmdList = DrawCmdList::CreateFromData(cmdListData, static_cast<bool>(mode)); DrawCmdListFuzzTest001() local [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/canvas/ |
H A D | canvas_modifier.cpp | 33 auto drawCmdList = rsRecordingCanvas_->GetDrawCmdList(); in onDraw() local 34 CHECK_NULL_VOID(drawCmdList); in onDraw() 37 ACE_SCOPED_TRACE("CanvasModifier::onDraw Op count: %zu.", drawCmdList->GetOpItemSize()); in onDraw() 41 rsDrawCmdList->GetWidth(), rsDrawCmdList->GetHeight(), drawCmdList->GetWidth(), drawCmdList->GetHeight(), in onDraw() 42 drawCmdList->GetOpItemSize()); in onDraw() 44 drawCmdSize_.SetWidth(drawCmdList->GetWidth()); in onDraw() 45 drawCmdSize_.SetHeight(drawCmdList->GetHeight()); in onDraw() 46 rsDrawCmdList->SetWidth(drawCmdList->GetWidth()); in onDraw() 47 rsDrawCmdList->SetHeight(drawCmdList in onDraw() [all...] |
H A D | canvas_paint_method.cpp | 268 auto drawCmdList = recordingCanvas->GetDrawCmdList(); in GetImageData() local 273 auto ret = rosenRenderContext->GetPixelMap(sharedPixelMap, drawCmdList, &rect); in GetImageData() 275 if (!drawCmdList || drawCmdList->IsEmpty()) { in GetImageData() 285 drawCmdList->Playback(canvas, &rect); in GetImageData() 358 auto drawCmdList = recordingCanvas->GetDrawCmdList(); in DrawBitmap() local 359 CHECK_NULL_RETURN(drawCmdList, false); in DrawBitmap() 360 bool res = rosenRenderContext->GetBitmap(currentBitmap, drawCmdList); in DrawBitmap() 364 if (drawCmdList->IsEmpty()) { in DrawBitmap() 373 drawCmdList in DrawBitmap() [all...] |
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_client/unittest/ui/ |
H A D | rs_canvas_drawing_node_test.cpp | 110 std::shared_ptr<Drawing::DrawCmdList> drawCmdList; in HWTEST_F() local 112 bool res = drawingNode->GetBitmap(bitmap, drawCmdList, &rect); in HWTEST_F() 118 drawingNode->GetBitmap(bitmap, drawCmdList, &rect); in HWTEST_F() 121 drawCmdList = std::make_shared<Drawing::DrawCmdList>(); in HWTEST_F() 122 res = drawingNode->GetBitmap(bitmap, drawCmdList, &rect); in HWTEST_F() 137 std::shared_ptr<Drawing::DrawCmdList> drawCmdList; in HWTEST_F() local 139 bool res = drawingNode->GetPixelmap(pixelmap, drawCmdList, &rect); in HWTEST_F() 143 drawingNode->GetPixelmap(pixelmap, drawCmdList, &rect); in HWTEST_F() 147 res = drawingNode->GetPixelmap(pixelmap, drawCmdList, &rect); in HWTEST_F() 152 drawingNode->GetPixelmap(pixelmap, drawCmdList, in HWTEST_F() [all...] |
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/recording/drawcmd_fuzzer/ |
H A D | drawcmd_fuzzer.cpp | 59 auto drawCmdList = DrawCmdList::CreateFromData(cmdListData, false); in DrawCmdFuzzTest001() local 61 DrawOpItem::BrushHandleToBrush(brushHandle, *drawCmdList, brush); in DrawCmdFuzzTest001() 95 auto drawCmdList = DrawCmdList::CreateFromData(cmdListData, false); in DrawCmdFuzzTest002() local 106 DrawOpItem::BrushToBrushHandle(brush, *drawCmdList, brushHandle); in DrawCmdFuzzTest002() 139 auto drawCmdList = DrawCmdList::CreateFromData(cmdListData, false); in DrawCmdFuzzTest003() local 146 DrawOpItem::GeneratePaintFromHandle(paintHandle, *drawCmdList, paint); in DrawCmdFuzzTest003() 179 auto drawCmdList = DrawCmdList::CreateFromData(cmdListData, false); in DrawCmdFuzzTest004() local 192 DrawOpItem::GenerateHandleFromPaint(*drawCmdList, paint, paintHandle); in DrawCmdFuzzTest004() 219 auto drawCmdList = DrawCmdList::CreateFromData(cmdListData, false); in DrawCmdFuzzTest005() local 234 drawWithPaintOpItem.Marshalling(*drawCmdList); in DrawCmdFuzzTest005() 262 auto drawCmdList = DrawCmdList::CreateFromData(cmdListData, false); DrawCmdFuzzTest006() local 301 auto drawCmdList = DrawCmdList::CreateFromData(cmdListData, false); DrawCmdFuzzTest007() local 355 auto drawCmdList = DrawCmdList::CreateFromData(cmdListData, false); DrawCmdFuzzTest008() local 401 auto drawCmdList = DrawCmdList::CreateFromData(cmdListData, false); DrawCmdFuzzTest009() local 456 auto drawCmdList = DrawCmdList::CreateFromData(cmdListData, false); DrawCmdFuzzTest010() local [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() argument 76 RSFrameOffsetDrawable(std::shared_ptr<Drawing::DrawCmdList>&& drawCmdList) in RSFrameOffsetDrawable() argument 77 : RSPropertyDrawable(std::move(drawCmdList)) in RSFrameOffsetDrawable() 90 RSClipToBoundsDrawable(std::shared_ptr<Drawing::DrawCmdList>&& drawCmdList) in RSClipToBoundsDrawable() argument 91 : RSPropertyDrawable(std::move(drawCmdList)) in RSClipToBoundsDrawable() 102 RSClipToFrameDrawable(std::shared_ptr<Drawing::DrawCmdList>&& drawCmdList) in RSClipToFrameDrawable() argument 103 : RSPropertyDrawable(std::move(drawCmdList)) in RSClipToFrameDrawable()
|
H A D | rs_property_drawable_background.h | 74 RSMaskDrawable(std::shared_ptr<Drawing::DrawCmdList>&& drawCmdList) : RSPropertyDrawable(std::move(drawCmdList)) {} in RSMaskDrawable() argument 86 RSBackgroundColorDrawable(std::shared_ptr<Drawing::DrawCmdList>&& drawCmdList) in RSBackgroundColorDrawable() argument 87 : RSPropertyDrawable(std::move(drawCmdList)) in RSBackgroundColorDrawable() 98 RSBackgroundShaderDrawable(std::shared_ptr<Drawing::DrawCmdList>&& drawCmdList) in RSBackgroundShaderDrawable() argument 99 : RSPropertyDrawable(std::move(drawCmdList)) in RSBackgroundShaderDrawable() 110 RSBackgroundImageDrawable(std::shared_ptr<Drawing::DrawCmdList>&& drawCmdList) in RSBackgroundImageDrawable() argument 111 : RSPropertyDrawable(std::move(drawCmdList)) in RSBackgroundImageDrawable()
|
H A D | rs_property_drawable_foreground.h | 150 RSForegroundColorDrawable(std::shared_ptr<Drawing::DrawCmdList>&& drawCmdList) in RSForegroundColorDrawable() argument 151 : RSPropertyDrawable(std::move(drawCmdList)) in RSForegroundColorDrawable() 191 RSBorderDrawable(std::shared_ptr<Drawing::DrawCmdList>&& drawCmdList) : RSPropertyDrawable(std::move(drawCmdList)) in RSBorderDrawable() argument 204 RSOutlineDrawable(std::shared_ptr<Drawing::DrawCmdList>&& drawCmdList) : RSPropertyDrawable(std::move(drawCmdList)) in RSOutlineDrawable() argument 215 RSParticleDrawable(std::shared_ptr<Drawing::DrawCmdList>&& drawCmdList) : RSPropertyDrawable(std::move(drawCmdList)) in RSParticleDrawable() argument
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/ui/ |
H A D | rs_canvas_drawing_node.cpp | 71 std::shared_ptr<Drawing::DrawCmdList> drawCmdList, const Drawing::Rect* rect) in GetBitmap() 102 if (drawCmdList == nullptr) { in GetBitmap() 103 RS_LOGD("RSCanvasDrawingNode::GetBitmap drawCmdList == nullptr"); in GetBitmap() 107 drawCmdList->Playback(canvas, rect); in GetBitmap() 113 std::shared_ptr<Drawing::DrawCmdList> drawCmdList, const Drawing::Rect* rect) in GetPixelmap() 126 bool ret = renderServiceClient->GetPixelmap(GetId(), pixelmap, rect, drawCmdList); in GetPixelmap() 143 auto getPixelmapTask = [&node, &pixelmap, rect, &ret, &drawCmdList]() { in GetPixelmap() 70 GetBitmap(Drawing::Bitmap& bitmap, std::shared_ptr<Drawing::DrawCmdList> drawCmdList, const Drawing::Rect* rect) GetBitmap() argument 112 GetPixelmap(std::shared_ptr<Media::PixelMap> pixelmap, std::shared_ptr<Drawing::DrawCmdList> drawCmdList, const Drawing::Rect* rect) GetPixelmap() argument
|
H A D | rs_canvas_drawing_node.h | 43 std::shared_ptr<Drawing::DrawCmdList> drawCmdList = nullptr, const Drawing::Rect* rect = nullptr); 45 std::shared_ptr<Drawing::DrawCmdList> drawCmdList = nullptr, const Drawing::Rect* rect = nullptr);
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/pipeline/ |
H A D | rs_canvas_drawing_render_node_test.cpp | 103 std::shared_ptr<Drawing::DrawCmdList> drawCmdList = std::make_shared<Drawing::DrawCmdList>(); in HWTEST_F() local 104 drawCmdList->SetWidth(1024); in HWTEST_F() 105 drawCmdList->SetHeight(1090); in HWTEST_F() 107 property->GetRef() = drawCmdList; in HWTEST_F() 171 std::shared_ptr<Drawing::DrawCmdList> drawCmdList = std::make_shared<Drawing::DrawCmdList>(1024, 1090); in HWTEST_F() local 173 property->GetRef() = drawCmdList; in HWTEST_F() 224 std::shared_ptr<Drawing::DrawCmdList> drawCmdList = std::make_shared<Drawing::DrawCmdList>(width, height); in HWTEST_F() local 226 property->GetRef() = drawCmdList; in HWTEST_F() 369 std::shared_ptr<Drawing::DrawCmdList> drawCmdList = std::make_shared<Drawing::DrawCmdList>(width, height); in HWTEST_F() local 370 ASSERT_FALSE(rsCanvasDrawingRenderNode.GetPixelmap(pixelmap, &rect, tid, drawCmdList)); in HWTEST_F() 375 std::shared_ptr<Drawing::DrawCmdList> drawCmdList = std::make_shared<Drawing::DrawCmdList>(width, height); HWTEST_F() local 381 std::shared_ptr<Drawing::DrawCmdList> drawCmdList = std::make_shared<Drawing::DrawCmdList>(width, height); HWTEST_F() local 402 std::shared_ptr<Drawing::DrawCmdList> drawCmdList; HWTEST_F() local 455 std::shared_ptr<Drawing::DrawCmdList> drawCmdList = std::make_shared<Drawing::DrawCmdList>(width, height); HWTEST_F() local [all...] |
H A D | rs_canvas_render_node_test.cpp | 308 std::shared_ptr<Drawing::DrawCmdList> drawCmdList = std::make_shared<Drawing::DrawCmdList>(); in HWTEST_F() local 309 drawCmdList->SetWidth(2024); in HWTEST_F() 310 drawCmdList->SetHeight(2090); in HWTEST_F() 312 propertyTwo->GetRef() = drawCmdList; in HWTEST_F()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/drawable/ |
H A D | rs_misc_drawable.cpp | 193 if (const auto& drawCmdList = property->GetRef()) { in OnUpdate() 194 if (drawCmdList->GetWidth() > 0 && drawCmdList->GetHeight() > 0) { in OnUpdate() 195 stagingDrawCmdListVec_.push_back(drawCmdList); in OnUpdate() 217 for (auto &drawCmdList : drawCmdListVec_) { in OnPurge() 218 if (drawCmdList) { in OnPurge() 219 drawCmdList->Purge(); in OnPurge() 235 const auto& drawCmdList = ptr->drawCmdListVec_[i]; in CreateDrawFunc() local 238 RSPropertyDrawableUtils::GetGravityMatrix(ptr->gravity_, *rect, drawCmdList->GetWidth(), in CreateDrawFunc() 239 drawCmdList in CreateDrawFunc() [all...] |
/foundation/graphic/graphic_2d/rosen/test/render/render/unittest/drawable/ |
H A D | rs_canvas_drawing_node_drawable_test.cpp | 277 std::shared_ptr<Drawing::DrawCmdList> drawCmdList = Drawing::DrawCmdList::CreateFromData(data, isCopy); in HWTEST_F() local 278 drawable->ProcessCPURenderInBackgroundThread(drawCmdList, ctx, id); in HWTEST_F() 283 EXPECT_TRUE(drawCmdList->IsEmpty()); in HWTEST_F() 285 drawable->ProcessCPURenderInBackgroundThread(drawCmdList, ctx, id); in HWTEST_F() 286 drawCmdList->AddDrawOp(std::move(drawOpItem)); in HWTEST_F() 287 EXPECT_FALSE(drawCmdList->IsEmpty()); in HWTEST_F() 290 drawable->ProcessCPURenderInBackgroundThread(drawCmdList, ctx, id); in HWTEST_F() 419 std::shared_ptr<Drawing::DrawCmdList> drawCmdList = nullptr; in HWTEST_F() local 420 bool res = drawable->GetPixelmap(pixelmap, rect, tid, drawCmdList); in HWTEST_F() 423 res = drawable->GetPixelmap(pixelmap, rect, tid, drawCmdList); in HWTEST_F() [all...] |
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/recording/ |
H A D | draw_cmd_list.cpp | 474 void DrawCmdList::PlaybackToDrawCmdList(std::shared_ptr<DrawCmdList> drawCmdList) in PlaybackToDrawCmdList() argument 476 if (!drawCmdList) { in PlaybackToDrawCmdList() 481 std::lock_guard<std::recursive_mutex> lock(drawCmdList->mutex_); in PlaybackToDrawCmdList() 482 drawCmdList->drawOpItems_.insert(drawCmdList->drawOpItems_.end(), drawOpItems_.begin(), drawOpItems_.end()); in PlaybackToDrawCmdList() 492 std::lock_guard<std::mutex> lock(drawCmdList->recordCmdMutex_); in PlaybackToDrawCmdList() 493 drawCmdList->recordCmdVec_.swap(recordCmdVec_); in PlaybackToDrawCmdList() 497 std::lock_guard<std::mutex> lock(drawCmdList->imageObjectMutex_); in PlaybackToDrawCmdList() 498 drawCmdList->imageObjectVec_.swap(imageObjectVec_); in PlaybackToDrawCmdList() 502 std::lock_guard<std::mutex> lock(drawCmdList in PlaybackToDrawCmdList() [all...] |
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/benchmarks/ |
H A D | rs_recording_thread.cpp | 211 void RSRecordingThread::RecordingToFile(const std::shared_ptr<Drawing::DrawCmdList>& drawCmdList) in RecordingToFile() argument 213 if (curDumpFrame_ < 0 || drawCmdList == nullptr) { in RecordingToFile() 217 drawCmdListVec_.push_back(drawCmdList); in RecordingToFile() 222 RSMarshallingHelper::Marshalling(*messageParcel, drawCmdList); in RecordingToFile() 224 opsDescriptionVec_.push_back(drawCmdList->GetOpsWithDesc()); in RecordingToFile()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/drawable/dfx/ |
H A D | rs_skp_capture_dfx.cpp | 79 auto drawCmdList = recordingCanvas_->GetDrawCmdList(); in EndCapture() local 82 RSRecordingThread::Instance(renderContext.get()).RecordingToFile(drawCmdList); in EndCapture()
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/drawable/ |
H A D | rs_canvas_drawing_render_node_drawable_test.cpp | 320 std::shared_ptr<Drawing::DrawCmdList> drawCmdList = Drawing::DrawCmdList::CreateFromData(data, isCopy); in HWTEST_F() local 321 drawable->ProcessCPURenderInBackgroundThread(drawCmdList, ctx, id); in HWTEST_F() 326 EXPECT_TRUE(drawCmdList->IsEmpty()); in HWTEST_F() 328 drawable->ProcessCPURenderInBackgroundThread(drawCmdList, ctx, id); in HWTEST_F() 329 drawCmdList->AddDrawOp(std::move(drawOpItem)); in HWTEST_F() 330 EXPECT_FALSE(drawCmdList->IsEmpty()); in HWTEST_F() 333 drawable->ProcessCPURenderInBackgroundThread(drawCmdList, ctx, id); in HWTEST_F() 399 std::shared_ptr<Drawing::DrawCmdList> drawCmdList = nullptr; in HWTEST_F() local 400 bool res = drawable->GetPixelmap(pixelmap, rect, tid, drawCmdList); in HWTEST_F() 403 res = drawable->GetPixelmap(pixelmap, rect, tid, drawCmdList); in HWTEST_F() [all...] |
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/drawable/ |
H A D | rs_misc_drawable_test.cpp | 150 std::shared_ptr<Drawing::DrawCmdList> drawCmdList = std::make_shared<Drawing::DrawCmdList>(); in HWTEST_F() local 152 property->GetRef() = drawCmdList; in HWTEST_F() 259 std::shared_ptr<Drawing::DrawCmdList> drawCmdList = std::make_shared<Drawing::DrawCmdList>(); in HWTEST_F() local 261 property->GetRef() = drawCmdList; in HWTEST_F() 302 std::shared_ptr<Drawing::DrawCmdList> drawCmdList = std::make_shared<Drawing::DrawCmdList>(); in HWTEST_F() local 304 property->GetRef() = drawCmdList; in HWTEST_F() 351 std::shared_ptr<Drawing::DrawCmdList> drawCmdList = std::make_shared<Drawing::DrawCmdList>(); in HWTEST_F() local 353 property->GetRef() = drawCmdList; in HWTEST_F()
|
/foundation/graphic/graphic_2d/rosen/test/render/render_base/unittest/draw/ |
H A D | rs_misc_draw_test.cpp | 150 std::shared_ptr<Drawing::DrawCmdList> drawCmdList = std::make_shared<Drawing::DrawCmdList>(); in HWTEST_F() local 152 property->GetRef() = drawCmdList; in HWTEST_F() 259 std::shared_ptr<Drawing::DrawCmdList> drawCmdList = std::make_shared<Drawing::DrawCmdList>(); in HWTEST_F() local 261 property->GetRef() = drawCmdList; in HWTEST_F() 302 std::shared_ptr<Drawing::DrawCmdList> drawCmdList = std::make_shared<Drawing::DrawCmdList>(); in HWTEST_F() local 304 property->GetRef() = drawCmdList; in HWTEST_F() 351 std::shared_ptr<Drawing::DrawCmdList> drawCmdList = std::make_shared<Drawing::DrawCmdList>(); in HWTEST_F() local 353 property->GetRef() = drawCmdList; in HWTEST_F()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/modifier/ |
H A D | rs_extended_modifier.h | 90 auto drawCmdList = RSExtendedModifierHelper::FinishDrawing(ctx); variable 91 bool isEmpty = drawCmdList == nullptr; 98 node->GetId(), drawCmdList, property_->id_, UPDATE_TYPE_OVERWRITE); 104 node->GetId(), drawCmdList, property_->id_, UPDATE_TYPE_OVERWRITE);
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/pipeline/ |
H A D | rs_canvas_drawing_render_node.cpp | 316 for (const auto& drawCmdList : it->second) { in ApplyDrawCmdModifier() 317 drawCmdList->Playback(*context.canvas_); in ApplyDrawCmdModifier() 318 drawCmdList->ClearOp(); in ApplyDrawCmdModifier() 375 const uint64_t tid, std::shared_ptr<Drawing::DrawCmdList> drawCmdList) in GetPixelmap() 401 if (!drawCmdList) { in GetPixelmap() 439 drawCmdList->Playback(*canvas, rect); in GetPixelmap() 374 GetPixelmap(std::shared_ptr<Media::PixelMap> pixelmap, const Drawing::Rect* rect, const uint64_t tid, std::shared_ptr<Drawing::DrawCmdList> drawCmdList) GetPixelmap() argument
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rspropertydrawable_fuzzer/ |
H A D | rspropertydrawable_fuzzer.cpp | 68 auto drawCmdList = Drawing::DrawCmdList::CreateFromData({ nullptr, 0 }, false);
in DoSomethingInterestingWithMyAPI() local 69 DrawableV2::RSPropertyDrawable rsPropertyDrawable(std::move(drawCmdList));
in DoSomethingInterestingWithMyAPI()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/ |
H A D | rs_unmarshal_thread.cpp | 231 auto drawCmdList = cmd->GetDrawCmdList(); in ReportTransactionDataStatistics() local 232 if (drawCmdList) { in ReportTransactionDataStatistics() 233 opCount += drawCmdList->GetOpItemSize(); in ReportTransactionDataStatistics()
|