/ohos5.0/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(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 D | surface_ohos_vulkan.cpp | 193 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 D | rs_surface_ohos_vulkan.cpp | 187 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 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 | 244 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 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()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/property/ |
H A D | rs_filter_cache_manager.cpp | 199 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 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()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/create_pixelmap_surface/src/ |
H A D | pixel_map_from_surface.cpp | 380 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 D | rs_surface_capture_task_parallel.cpp | 591 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 D | rs_surface_render_node_drawable_test.cpp | 883 std::shared_ptr<Drawing::Surface> drawingSurface = std::make_shared<Drawing::Surface>(); variable 884 canvas_->surface_ = drawingSurface.get();
|