Home
last modified time | relevance | path

Searched refs:windowSurface (Results 1 - 3 of 3) sorted by relevance

/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/
H A Drs_draw_window_cache.cpp43 auto windowSurface = mainSurface->MakeSurface(bounds.GetWidth(), bounds.GetHeight()); in DrawAndCacheWindowContent() local
44 if (windowSurface == nullptr) { in DrawAndCacheWindowContent()
48 auto windowCanvas = std::make_shared<RSPaintFilterCanvas>(windowSurface.get()); in DrawAndCacheWindowContent()
51 windowSurface = nullptr; in DrawAndCacheWindowContent()
76 image_ = windowSurface->GetImageSnapshot(); in DrawAndCacheWindowContent()
/foundation/distributedhardware/distributed_screen/services/screenservice/sourceservice/dscreenmgr/1.0/src/
H A Ddscreen.cpp437 sptr<OHOS::Surface> windowSurface = sourceTrans_->GetImageSurface(); in Start() local
438 if (windowSurface == nullptr) { in Start()
442 ScreenMgrAdapter::GetInstance().SetImageSurface(screenId_, windowSurface); in Start()
/foundation/graphic/graphic_surface/surface/src/
H A Dnative_window.cpp729 sptr<OHOS::Surface> windowSurface = window->surface; in NativeWindowWriteToParcel() local
730 if (windowSurface == nullptr) { in NativeWindowWriteToParcel()
731 BLOGE("windowSurface is nullptr"); in NativeWindowWriteToParcel()
734 auto producer = windowSurface->GetProducer(); in NativeWindowWriteToParcel()
755 sptr <OHOS::Surface> windowSurface = OHOS::Surface::CreateSurfaceAsProducer(bp); in NativeWindowReadFromParcel() local
756 if (windowSurface == nullptr) { in NativeWindowReadFromParcel()
757 BLOGE("windowSurface is nullptr"); in NativeWindowReadFromParcel()
761 *window = reinterpret_cast<OHNativeWindow*>(utils->GetNativeWindow(windowSurface->GetUniqueId())); in NativeWindowReadFromParcel()
763 *window = CreateNativeWindowFromSurface(&windowSurface); in NativeWindowReadFromParcel()

Completed in 3 milliseconds