Home
last modified time | relevance | path

Searched refs:needCheckThread (Results 1 – 6 of 6) sorted by relevance

/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/drawable/
H A Drs_ui_first_surface_render_node_drawable_test.cpp93 bool needCheckThread = false; variable
95 auto result = surfaceDrawable_->GetCacheSurface(threadIndex, needCheckThread, releaseAfterGet);
102 result = surfaceDrawable_->GetCacheSurface(threadIndex, needCheckThread, releaseAfterGet);
105 needCheckThread = true;
108 result = surfaceDrawable_->GetCacheSurface(threadIndex, needCheckThread, releaseAfterGet);
113 result = surfaceDrawable_->GetCacheSurface(threadIndex, needCheckThread, releaseAfterGet);
116 result = surfaceDrawable_->GetCacheSurface(threadIndex, needCheckThread, releaseAfterGet);
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/pipeline/
H A Drs_base_render_node_test.cpp588 bool needCheckThread = false; variable
590 … ASSERT_EQ(node->GetCompletedCacheSurface(threadIndex, needCheckThread, releaseAfterGet), nullptr);
592 needCheckThread = true;
593 … ASSERT_EQ(node->GetCompletedCacheSurface(threadIndex, needCheckThread, releaseAfterGet), nullptr);
596 … ASSERT_EQ(node->GetCompletedCacheSurface(threadIndex, needCheckThread, releaseAfterGet), nullptr);
629 bool needCheckThread = false; variable
631 ASSERT_EQ(node->GetCacheSurface(threadIndex, needCheckThread, releaseAfterGet), nullptr);
633 needCheckThread = true;
634 ASSERT_EQ(node->GetCacheSurface(threadIndex, needCheckThread, releaseAfterGet), nullptr);
637 ASSERT_EQ(node->GetCacheSurface(threadIndex, needCheckThread, releaseAfterGet), nullptr);
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/drawable/
H A Drs_ui_first_surface_render_node_drawable.cpp73 bool needCheckThread, bool releaseAfterGet) in GetCacheSurface() argument
78 if (!needCheckThread || cacheSurfaceThreadIndex_ == threadIndex || !cacheSurface_) { in GetCacheSurface()
H A Drs_surface_render_node_drawable.h111 std::shared_ptr<Drawing::Surface> GetCacheSurface(uint32_t threadIndex, bool needCheckThread,
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/pipeline/
H A Drs_render_node.h408 std::shared_ptr<Drawing::Surface> GetCacheSurface(uint32_t threadIndex, bool needCheckThread,
414 bool needCheckThread = true, bool releaseAfterGet = false);
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/pipeline/
H A Drs_render_node.cpp3096 …rawing::Surface> RSRenderNode::GetCompletedCacheSurface(uint32_t threadIndex, bool needCheckThread, in GetCompletedCacheSurface() argument
3110 … if (!needCheckThread || completedSurfaceThreadIndex_ == threadIndex || !cacheCompletedSurface_) { in GetCompletedCacheSurface()
3129 …red_ptr<Drawing::Surface> RSRenderNode::GetCacheSurface(uint32_t threadIndex, bool needCheckThread, in GetCacheSurface() argument
3143 if (!needCheckThread || cacheSurfaceThreadIndex_ == threadIndex || !cacheSurface_) { in GetCacheSurface()