Home
last modified time | relevance | path

Searched refs:drSurface (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/property/
H A Drs_property_drawable_frame_geometry.cpp38 auto drSurface = canvas.GetSurface(); in Draw() local
39 if (drSurface == nullptr) { in Draw()
44 auto imageSnapshot = drSurface->GetImageSnapshot(clipBounds); in Draw()
H A Drs_properties_painter.cpp1620 auto drSurface = canvas.GetSurface(); in DrawBinarizationShader() local
1621 if (drSurface == nullptr) { in DrawBinarizationShader()
1626 auto imageSnapshot = drSurface->GetImageSnapshot(clipBounds); in DrawBinarizationShader()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/parallel_render/
H A Drs_sub_thread.cpp405 auto drSurface = renderFrame->GetFrame()->GetSurface(); in DrawableCacheWithDma() local
406 if (!drSurface) { in DrawableCacheWithDma()
410 auto rsCanvas = std::make_shared<RSPaintFilterCanvas>(drSurface.get()); in DrawableCacheWithDma()
427 RSUniRenderUtil::OptimizedFlushAndSubmit(drSurface, grContext_.get(), optFenceWait); in DrawableCacheWithDma()
434 RSBaseRenderUtil::WriteCacheImageRenderNodeToPng(drSurface, nodeDrawable->GetName()); in DrawableCacheWithDma()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/pipeline/
H A Drs_divided_ui_capture.cpp67 auto drSurface = CreateSurface(pixelmap); in TakeLocalCapture() local
68 if (drSurface == nullptr) { in TakeLocalCapture()
71 auto canvas = std::make_shared<RSPaintFilterCanvas>(drSurface.get()); in TakeLocalCapture()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/
H A Drs_uni_ui_capture.cpp82 auto drSurface = CreateSurface(pixelmap); in TakeLocalCapture() local
83 if (drSurface == nullptr) { in TakeLocalCapture()
86 auto canvas = std::make_shared<RSPaintFilterCanvas>(drSurface.get()); in TakeLocalCapture()
96 auto img = drSurface->GetImageSnapshot(); in TakeLocalCapture()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/drawable/
H A Drs_property_drawable_utils.cpp103 Drawing::Surface* drSurface = canvas->GetSurface(); in GetShadowRegionImage() local
104 if (drSurface == nullptr) { in GetShadowRegionImage()
108 static int deviceWidth = drSurface->Width(); in GetShadowRegionImage()
109 static int deviceHeight = drSurface->Height(); in GetShadowRegionImage()
122 std::shared_ptr<Drawing::Image> shadowRegionImage = drSurface->GetImageSnapshot(regionBounds); in GetShadowRegionImage()
811 auto drSurface = canvas->GetSurface(); in DrawBinarization() local
812 if (drSurface == nullptr) { in DrawBinarization()
817 auto imageSnapshot = drSurface->GetImageSnapshot(clipBounds); in DrawBinarization()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/drawable/
H A Drs_display_render_node_drawable.cpp736 auto drSurface = renderFrame->GetFrame()->GetSurface(); in OnDraw() local
737 if (!drSurface) { in OnDraw()
743 curCanvas_ = std::make_shared<RSPaintFilterCanvas>(drSurface.get()); in OnDraw()
1109 auto drSurface = renderFrame->GetFrame()->GetSurface(); in WiredScreenProjection() local
1110 if (!drSurface) { in WiredScreenProjection()
1114 curCanvas_ = std::make_shared<RSPaintFilterCanvas>(drSurface.get()); in WiredScreenProjection()