Searched refs:drawingSurface (Results 1 - 10 of 10) sorted by relevance
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/modifier/ |
H A D | rs_extended_modifier.cpp | 117 std::shared_ptr<Drawing::Surface> drawingSurface = Drawing::Surface::MakeFromBackendTexture(gpuContext.get(), 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() 151 RS_LOGE("MakePiexlMapDrawCmdList::drawingSurface Create fail."); in MakePiexlMapDrawCmdList() 154 auto tmpCanvas = drawingSurface->GetCanvas(); in MakePiexlMapDrawCmdList() 156 drawingSurface->FlushAndSubmit(); in MakePiexlMapDrawCmdList()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/ohos/backend/ |
H A D | rs_surface_ohos_vulkan.cpp | 185 if (nativeSurface.drawingSurface == nullptr) { in RequestFrame() 191 || !nativeSurface.drawingSurface) { in RequestFrame() 206 nativeSurface.drawingSurface->ClearDrawingArea(); in RequestFrame() 216 nativeSurface.drawingSurface->Wait(1, semaphore); in RequestFrame() 227 std::make_unique<RSSurfaceFrameOhosVulkan>(nativeSurface.drawingSurface, width, height, bufferAge); in RequestFrame() 282 surface.drawingSurface->Flush(&drawingFlushInfo); in FlushFrame()
|
H A D | native_buffer_utils.h | 91 std::shared_ptr<Drawing::Surface> drawingSurface = nullptr; member 96 drawingSurface = nullptr; in ~NativeSurfaceInfo()
|
H A D | native_buffer_utils.cpp | 243 nativeSurface.drawingSurface = Drawing::Surface::MakeFromBackendTexture( in MakeFromNativeWindowBuffer() 253 if (nativeSurface.drawingSurface) { in MakeFromNativeWindowBuffer() 254 SKResourceManager::Instance().HoldResource(nativeSurface.drawingSurface); in MakeFromNativeWindowBuffer()
|
/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/drawing_engine/drawing_surface/ |
H A D | surface_ohos_vulkan.cpp | 187 if (nativeSurface.drawingSurface == nullptr) { in NativeRequestFrame() 197 if (!nativeSurface.drawingSurface) { in NativeRequestFrame() 213 nativeSurface.drawingSurface->Wait(1, semaphore); in NativeRequestFrame() 216 frame_ = std::make_unique<SurfaceFrameOhosVulkan>(nativeSurface.drawingSurface, width, height); in NativeRequestFrame() 219 surface_ = nativeSurface.drawingSurface; in NativeRequestFrame() 286 surface.drawingSurface->Flush(&drawingFlushInfo); in NativeFlushFrame()
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/ |
H A D | skia_surface.cpp | 415 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()
|
/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/ |
H A D | drawing_sample_replayer.cpp | 154 std::shared_ptr<Drawing::Surface> drawingSurface = renderContext_->AcquireSurface(width_, height_); in RenderLoop() local 155 Drawing::Canvas* canvas = drawingSurface->GetCanvas().get(); in RenderLoop()
|
/foundation/graphic/graphic_2d/rosen/modules/create_pixelmap_surface/src/ |
H A D | pixel_map_from_surface.cpp | 390 std::shared_ptr<Drawing::Surface> drawingSurface = Drawing::Surface::MakeFromBackendTexture( in DrawImageRectVK() local 396 if (drawingSurface == nullptr) { in DrawImageRectVK() 399 auto canvas = drawingSurface->GetCanvas(); in DrawImageRectVK() 413 drawingSurface->FlushAndSubmit(true); in DrawImageRectVK()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/property/ |
H A D | rs_filter_cache_manager.cpp | 209 auto drawingSurface = canvas.GetSurface(); in TakeSnapshot() local 210 if (drawingSurface == nullptr) { in TakeSnapshot() 226 auto snapshot = drawingSurface->GetImageSnapshot(snapshotIBounds); in TakeSnapshot()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/ |
H A D | rs_surface_capture_task_parallel.cpp | 568 auto drawingSurface = Drawing::Surface::MakeFromBackendTexture(
in CreateSurfaceSyncCopyTask() local 574 return drawingSurface;
in CreateSurfaceSyncCopyTask()
|
Completed in 7 milliseconds