Searched refs:surfaceFrame (Results 1 – 8 of 8) sorted by relevance
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/test/ |
H A D | render_service_client_fingerprint_demo.cpp | 57 …auto surfaceFrame = rsSurface->RequestFrame(defaultDisplay->GetWidth(), defaultDisplay->GetHeight(… in main() local 58 auto skSurface = surfaceFrame->GetSurface(); in main() 68 rsSurface->FlushFrame(surfaceFrame); in main()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/ |
H A D | drawing_engine_sample.cpp | 216 std::unique_ptr<SurfaceFrame> surfaceFrame; in DoDraw() local 220 surfaceFrame = surface_->NativeRequestFrame(drawingWidth, drawingHeight); in DoDraw() 221 if (surfaceFrame == nullptr) { in DoDraw() 227 surfaceFrame = surface_->RequestFrame(drawingWidth, drawingHeight); in DoDraw() 229 Drawing::Canvas* drcanvas = surface_->GetCanvas(surfaceFrame); in DoDraw() 233 surface_->NativeFlushFrame(surfaceFrame); in DoDraw() 236 surface_->FlushFrame(surfaceFrame); in DoDraw()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/drawable/ |
H A D | rs_dma_buffer_surface_render_node_drawable.cpp | 137 auto surfaceFrame = rsSurface->RequestFrame(config.width, config.height, 0); in RequestFrame() local 138 if (surfaceFrame == nullptr) { in RequestFrame() 142 return std::make_unique<RSRenderFrame>(rsSurface, std::move(surfaceFrame)); in RequestFrame()
|
/ohos5.0/base/useriam/fingerprint_auth/services_ex/src/ |
H A D | sensor_illumination_task.cpp | 249 auto surfaceFrame = rsSurface_->RequestFrame(canvasParam_.frameWidth, canvasParam_.frameHeight); in DrawSurfaceNode() local 250 IF_FALSE_LOGE_AND_RETURN_VAL(surfaceFrame != nullptr, ResultCode::GENERAL_ERROR); in DrawSurfaceNode() 251 auto skSurface = surfaceFrame->GetSurface(); in DrawSurfaceNode() 259 rsSurface_->FlushFrame(surfaceFrame); in DrawSurfaceNode()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/pipeline/ |
H A D | rs_render_thread_visitor.cpp | 307 …enderThreadVisitor::UpdateDirtyAndSetEGLDamageRegion(std::unique_ptr<RSSurfaceFrame>& surfaceFrame) in UpdateDirtyAndSetEGLDamageRegion() 321 int32_t bufferAge = surfaceFrame->GetBufferAge(); in UpdateDirtyAndSetEGLDamageRegion() 340 … surfaceFrame->SetDamageRegion(dirtyRectFlip.left_, dirtyRectFlip.top_, dirtyRectFlip.width_, in UpdateDirtyAndSetEGLDamageRegion() 463 auto surfaceFrame = rsSurface->RequestFrame(bufferWidth, bufferHeight, uiTimestamp_); in ProcessRootRenderNode() local 465 …auto surfaceFrame = rsSurface->RequestFrame(std::round(bufferWidth), std::round(bufferHeight), uiT… in ProcessRootRenderNode() local 468 if (surfaceFrame == nullptr) { in ProcessRootRenderNode() 475 auto surface = surfaceFrame->GetSurface(); in ProcessRootRenderNode() 533 UpdateDirtyAndSetEGLDamageRegion(surfaceFrame); in ProcessRootRenderNode() 597 rsSurface->FlushFrame(surfaceFrame, uiTimestamp_); in ProcessRootRenderNode()
|
H A D | rs_render_thread_visitor.h | 79 void UpdateDirtyAndSetEGLDamageRegion(std::unique_ptr<RSSurfaceFrame>& surfaceFrame);
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_client/unittest/pipeline/ |
H A D | rs_render_thread_visitor_test.cpp | 1082 std::unique_ptr<RSSurfaceFrame> surfaceFrame = std::make_unique<RSSurfaceFrameOhosGl>(1, 1); variable 1084 visitor.UpdateDirtyAndSetEGLDamageRegion(surfaceFrame); 1085 EXPECT_TRUE(surfaceFrame); 1088 visitor.UpdateDirtyAndSetEGLDamageRegion(surfaceFrame); 1089 EXPECT_TRUE(surfaceFrame);
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/ |
H A D | rs_base_render_engine.cpp | 351 auto surfaceFrame = rsSurface->RequestFrame(config.width, config.height, 0, useAFBC, in RequestFrame() local 354 if (surfaceFrame == nullptr) { in RequestFrame() 361 return std::make_unique<RSRenderFrame>(rsSurface, std::move(surfaceFrame)); in RequestFrame()
|