Searched refs:framePtr (Results 1 – 8 of 8) sorted by relevance
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/test/ |
H A D | surface_capture_test.cpp | 38 std::unique_ptr<RSSurfaceFrame> framePtr; variable 53 framePtr = std::move(frame); in DrawSurface() 54 auto canvas = framePtr->GetCanvas(); in DrawSurface() 63 framePtr->SetDamageRegion(0, 0, width, height); in DrawSurface() 64 auto framePtr1 = std::move(framePtr); in DrawSurface() 83 framePtr = std::move(frame); in DrawSurfaceToCapture() 85 auto canvas = framePtr->GetCanvas(); in DrawSurfaceToCapture() 106 auto framePtr1 = std::move(framePtr); in DrawSurfaceToCapture() 131 framePtr = std::move(frame); in DrawPixelmap() 132 auto canvas = framePtr->GetCanvas(); in DrawPixelmap() [all …]
|
H A D | render_service_client_rs_animation_demo.cpp | 53 std::unique_ptr<RSSurfaceFrame> framePtr; variable 72 framePtr = std::move(frame); in DrawSurface() 73 if (!framePtr) { in DrawSurface() 77 auto canvas = framePtr->GetCanvas(); in DrawSurface() 89 framePtr->SetDamageRegion(0, 0, width, height); in DrawSurface() 90 auto framePtr1 = std::move(framePtr); in DrawSurface()
|
H A D | render_service_display_mode_demo.cpp | 124 … auto framePtr = rsSurface->RequestFrame(bufferSize_.GetWidth(), bufferSize_.GetHeight()); in Run() local 125 if (!framePtr) { in Run() 131 auto canvas = framePtr->GetCanvas(); in Run() 145 … framePtr->SetDamageRegion(0, 0, surfaceGeometry_.GetWidth(), surfaceGeometry_.GetHeight()); in Run() 146 rsSurface->FlushFrame(framePtr); in Run()
|
H A D | render_service_client_ui_capture_demo.cpp | 147 auto framePtr = rsSurface->RequestFrame(width, height); in DrawSurfaceNode() local 148 if (!framePtr) { in DrawSurfaceNode() 152 auto canvas = framePtr->GetCanvas(); in DrawSurfaceNode() 171 framePtr->SetDamageRegion(0, 0, width, height); in DrawSurfaceNode() 172 rsSurface->FlushFrame(framePtr); in DrawSurfaceNode()
|
H A D | render_service_client_rs_demo.cpp | 132 … auto framePtr = rsSurface->RequestFrame(bufferSize_.GetWidth(), bufferSize_.GetHeight()); in Run() local 133 if (!framePtr) { in Run() 139 auto canvas = framePtr->GetCanvas(); in Run() 153 … framePtr->SetDamageRegion(0, 0, surfaceGeometry_.GetWidth(), surfaceGeometry_.GetHeight()); in Run() 154 rsSurface->FlushFrame(framePtr); in Run()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/drawing_engine/ |
H A D | gles_render_backend.cpp | 164 SurfaceFrameOhosGl* framePtr = static_cast<SurfaceFrameOhosGl*>(frame.get()); in AcquireSkCanvas() local 177 int32_t width = framePtr->GetWidth(); in AcquireSkCanvas() 178 int32_t height = framePtr->GetHeight(); in AcquireSkCanvas() 206 SurfaceFrameOhosGl* framePtr = static_cast<SurfaceFrameOhosGl*>(frame.get()); in AcquireDrCanvas() local 208 int32_t width = framePtr->GetWidth(); in AcquireDrCanvas() 209 int32_t height = framePtr->GetHeight(); in AcquireDrCanvas()
|
H A D | software_render_backend.cpp | 25 SurfaceFrameOhosRaster* framePtr = static_cast<SurfaceFrameOhosRaster*>(frame.get()); in AcquireSkCanvas() local 26 sptr<SurfaceBuffer> buffer = framePtr->GetBuffer(); in AcquireSkCanvas()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/pipeline/ |
H A D | rs_surface_capture_task_test.cpp | 228 std::unique_ptr<RSSurfaceFrame> framePtr = std::move(frame); in FillSurface() local 229 auto canvas = framePtr->GetCanvas(); in FillSurface() 236 framePtr->SetDamageRegion(0.0f, 0.0f, DEFAULT_BOUNDS_WIDTH, DEFAULT_BOUNDS_HEIGHT); in FillSurface() 237 auto framePtr1 = std::move(framePtr); in FillSurface()
|