Home
last modified time | relevance | path

Searched refs:drawingSurface (Results 1 – 11 of 11) sorted by relevance

/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/modifier/
H A Drs_extended_modifier.cpp117 …std::shared_ptr<Drawing::Surface> drawingSurface = Drawing::Surface::MakeFromBackendTexture(gpuCon… in CreateSurface() local
120 if (!drawingSurface) { in CreateSurface()
126 return drawingSurface; in CreateSurface()
149 auto drawingSurface = CreateSurface(pixelMap, width, height); in MakePiexlMapDrawCmdList() local
150 if (!drawingSurface) { in MakePiexlMapDrawCmdList()
154 auto tmpCanvas = drawingSurface->GetCanvas(); in MakePiexlMapDrawCmdList()
156 drawingSurface->FlushAndSubmit(); in MakePiexlMapDrawCmdList()
/ohos5.0/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/drawing_engine/drawing_surface/
H A Dsurface_ohos_vulkan.cpp193 if (nativeSurface.drawingSurface == nullptr) { in NativeRequestFrame()
203 if (!nativeSurface.drawingSurface) { in NativeRequestFrame()
219 nativeSurface.drawingSurface->Wait(1, semaphore); in NativeRequestFrame()
222 frame_ = std::make_unique<SurfaceFrameOhosVulkan>(nativeSurface.drawingSurface, width, height); in NativeRequestFrame()
225 surface_ = nativeSurface.drawingSurface; in NativeRequestFrame()
294 surface.drawingSurface->Flush(&drawingFlushInfo); in NativeFlushFrame()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/ohos/backend/
H A Drs_surface_ohos_vulkan.cpp187 if (nativeSurface.drawingSurface == nullptr) { in RequestFrame()
193 || !nativeSurface.drawingSurface) { in RequestFrame()
208 nativeSurface.drawingSurface->ClearDrawingArea(); in RequestFrame()
218 nativeSurface.drawingSurface->Wait(1, semaphore); in RequestFrame()
229 …std::make_unique<RSSurfaceFrameOhosVulkan>(nativeSurface.drawingSurface, width, height, bufferAge); in RequestFrame()
281 surface.drawingSurface->Flush(&drawingFlushInfo); in FlushFrame()
H A Dnative_buffer_utils.h91 std::shared_ptr<Drawing::Surface> drawingSurface = nullptr; member
96 drawingSurface = nullptr; in ~NativeSurfaceInfo()
H A Dnative_buffer_utils.cpp244 nativeSurface.drawingSurface = Drawing::Surface::MakeFromBackendTexture( in MakeFromNativeWindowBuffer()
254 if (nativeSurface.drawingSurface) { in MakeFromNativeWindowBuffer()
255 SKResourceManager::Instance().HoldResource(nativeSurface.drawingSurface); in MakeFromNativeWindowBuffer()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/
H A Dskia_surface.cpp415 auto drawingSurface = std::make_shared<Surface>(); in MakeSurface() local
416 drawingSurface->GetImpl<SkiaSurface>()->SetSkSurface(surface); in MakeSurface()
417 return drawingSurface; in MakeSurface()
433 auto drawingSurface = std::make_shared<Surface>(); in MakeSurface() local
434 drawingSurface->GetImpl<SkiaSurface>()->SetSkSurface(surface); in MakeSurface()
435 return drawingSurface; in MakeSurface()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/property/
H A Drs_filter_cache_manager.cpp199 auto drawingSurface = canvas.GetSurface(); in TakeSnapshot() local
200 if (drawingSurface == nullptr) { in TakeSnapshot()
215 auto snapshot = drawingSurface->GetImageSnapshot(snapshotIBounds, false); in TakeSnapshot()
/ohos5.0/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/
H A Ddrawing_sample_replayer.cpp154 …std::shared_ptr<Drawing::Surface> drawingSurface = renderContext_->AcquireSurface(width_, height_); in RenderLoop() local
155 Drawing::Canvas* canvas = drawingSurface->GetCanvas().get(); in RenderLoop()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/create_pixelmap_surface/src/
H A Dpixel_map_from_surface.cpp380 std::shared_ptr<Drawing::Surface> drawingSurface = Drawing::Surface::MakeFromBackendTexture( in DrawImageRectVK() local
386 if (drawingSurface == nullptr) { in DrawImageRectVK()
389 auto canvas = drawingSurface->GetCanvas(); in DrawImageRectVK()
403 drawingSurface->FlushAndSubmit(true); in DrawImageRectVK()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/
H A Drs_surface_capture_task_parallel.cpp591 auto drawingSurface = Drawing::Surface::MakeFromBackendTexture( in CreateSurfaceSyncCopyTask() local
597 return drawingSurface; in CreateSurfaceSyncCopyTask()
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/drawable/
H A Drs_surface_render_node_drawable_test.cpp883 std::shared_ptr<Drawing::Surface> drawingSurface = std::make_shared<Drawing::Surface>(); variable
884 canvas_->surface_ = drawingSurface.get();