Home
last modified time | relevance | path

Searched refs:Instance (Results 1 - 25 of 475) sorted by relevance

12345678910>>...19

/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_client/unittest/pipeline/
H A Drs_render_thread_test.cpp54 RSRenderThread::Instance().Detach(nodeId); in HWTEST_F()
70 RSRenderThread::Instance().Detach(node.GetId()); in HWTEST_F()
85 RSRenderThread::Instance().RecvTransactionData(data); in HWTEST_F()
99 RSRenderThread::Instance().PostPreTask(); in HWTEST_F()
100 EXPECT_EQ(RSRenderThread::Instance().handler_, nullptr); in HWTEST_F()
114 RSRenderThread::Instance().UpdateWindowStatus(false); in HWTEST_F()
115 RSRenderThread::Instance().UpdateWindowStatus(true); in HWTEST_F()
116 EXPECT_EQ(RSRenderThread::Instance().activeWindowCnt_, 0); in HWTEST_F()
127 RSRenderThread::Instance().RequestNextVSync(); in HWTEST_F()
128 EXPECT_TRUE(RSRenderThread::Instance() in HWTEST_F()
[all...]
/foundation/graphic/graphic_2d/rosen/test/render/render/unittest/cmd/
H A Drs_message_processor_test.cpp47 EXPECT_EQ(false, RSMessageProcessor::Instance().HasTransaction()); in HWTEST_F()
59 RSMessageProcessor::Instance().AddUIMessage(pid, nullptr); in HWTEST_F()
60 EXPECT_EQ(true, RSMessageProcessor::Instance().HasTransaction()); in HWTEST_F()
61 EXPECT_EQ(nullptr, RSMessageProcessor::Instance().GetTransaction(0)); in HWTEST_F()
65 RSMessageProcessor::Instance().transactionMap_[pid] = transactionData; in HWTEST_F()
66 RSMessageProcessor::Instance().AddUIMessage(pid, nullptr); in HWTEST_F()
67 EXPECT_EQ(true, RSMessageProcessor::Instance().HasTransaction()); in HWTEST_F()
78 RSMessageProcessor::Instance().AddUIMessage(pid, nullptr); in HWTEST_F()
79 RSMessageProcessor::Instance().AddUIMessage(pid, nullptr); in HWTEST_F()
80 EXPECT_EQ(true, RSMessageProcessor::Instance() in HWTEST_F()
[all...]
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/command/
H A Drs_message_processor_test.cpp47 RSMessageProcessor::Instance().AddUIMessage(pid, nullptr); in HWTEST_F()
48 RSMessageProcessor::Instance().AddUIMessage(pid, nullptr); in HWTEST_F()
49 EXPECT_EQ(true, RSMessageProcessor::Instance().HasTransaction()); in HWTEST_F()
51 RSMessageProcessor::Instance().HasTransaction(pid); in HWTEST_F()
52 EXPECT_NE(nullptr, RSMessageProcessor::Instance().GetTransaction(pid)); in HWTEST_F()
53 RSMessageProcessor::Instance().GetAllTransactions(); in HWTEST_F()
55 RSMessageProcessor::Instance().GetTransaction(0); in HWTEST_F()
56 EXPECT_EQ(nullptr, RSMessageProcessor::Instance().GetTransaction(0)); in HWTEST_F()
67 EXPECT_EQ(false, RSMessageProcessor::Instance().HasTransaction()); in HWTEST_F()
79 RSMessageProcessor::Instance() in HWTEST_F()
[all...]
/foundation/graphic/graphic_2d/rosen/test/hyper_graphic_manager/unittest/
H A Dhgm_energy_consumption_policy_test.cpp50 HgmEnergyConsumptionPolicy::Instance().SetEnergyConsumptionConfig(animationPowerConfig); in SetConfigEnable()
54 HgmEnergyConsumptionPolicy::Instance().SetUiEnergyConsumptionConfig(uiPowerConfig); in SetConfigEnable()
59 HgmEnergyConsumptionPolicy::Instance().SetAnimationEnergyConsumptionAssuranceMode(isIdle); in SetIdleStateEnable()
60 HgmEnergyConsumptionPolicy::Instance().isTouchIdle_ = isIdle; in SetIdleStateEnable()
61 ASSERT_EQ(HgmEnergyConsumptionPolicy::Instance().isTouchIdle_, isIdle); in SetIdleStateEnable()
73 ASSERT_EQ(HgmEnergyConsumptionPolicy::Instance().isAnimationEnergyAssuranceEnable_, true); in HWTEST_F()
85 ASSERT_EQ(HgmEnergyConsumptionPolicy::Instance().isAnimationEnergyAssuranceEnable_, false); in HWTEST_F()
97 ASSERT_EQ(HgmEnergyConsumptionPolicy::Instance().isAnimationEnergyAssuranceEnable_, true); in HWTEST_F()
99 ASSERT_EQ(HgmEnergyConsumptionPolicy::Instance().isTouchIdle_, true); in HWTEST_F()
101 ASSERT_EQ(HgmEnergyConsumptionPolicy::Instance() in HWTEST_F()
[all...]
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/render/
H A Drs_typeface_cache_test.cpp61 bool ret = MemorySnapshot::Instance().GetMemorySnapshotInfoByPid(pid1, baseInfo1); in HWTEST_F()
64 ret = MemorySnapshot::Instance().GetMemorySnapshotInfoByPid(pid2, baseInfo2); in HWTEST_F()
68 ret = RSTypefaceCache::Instance().HasTypeface(uniqueId1, hash); in HWTEST_F()
70 RSTypefaceCache::Instance().CacheDrawingTypeface(uniqueId1, typeface); in HWTEST_F()
72 ret = MemorySnapshot::Instance().GetMemorySnapshotInfoByPid(pid1, currentInfo); in HWTEST_F()
76 ret = RSTypefaceCache::Instance().HasTypeface(uniqueId2, hash); in HWTEST_F()
79 ret = MemorySnapshot::Instance().GetMemorySnapshotInfoByPid(pid2, currentInfo); in HWTEST_F()
83 RSTypefaceCache::Instance().CacheDrawingTypeface(uniqueId2, typeface); in HWTEST_F()
85 ret = MemorySnapshot::Instance().GetMemorySnapshotInfoByPid(pid2, currentInfo); in HWTEST_F()
90 RSTypefaceCache::Instance() in HWTEST_F()
[all...]
H A Drs_image_cache_test.cpp48 RSImageCache::Instance().CollectUniqueId(id); in HWTEST_F()
50 EXPECT_FALSE(RSImageCache::Instance().CheckUniqueIdIsEmpty()); in HWTEST_F()
52 RSImageCache::Instance().ReleaseUniqueIdList(); in HWTEST_F()
54 std::unique_lock<std::mutex> lock(RSImageCache::Instance().uniqueIdListMutex_); in HWTEST_F()
55 EXPECT_TRUE(RSImageCache::Instance().uniqueIdList_.empty()); in HWTEST_F()
57 EXPECT_TRUE(RSImageCache::Instance().CheckUniqueIdIsEmpty()); in HWTEST_F()
60 std::unique_lock<std::mutex> lock(RSImageCache::Instance().uniqueIdListMutex_); in HWTEST_F()
61 RSImageCache::Instance().uniqueIdList_.clear(); in HWTEST_F()
67 * @tc.desc: Verify function Instance
73 RSImageCache& imageCache = RSImageCache::Instance(); in HWTEST_F()
[all...]
/foundation/resourceschedule/ffrt/test/ut/testcase/
H A Dut_rtg.cpp55 bool enabled = RTGCtrl::Instance().Enabled(); in HWTEST_F()
61 int tgid = RTGCtrl::Instance().GetThreadGroup(); in HWTEST_F()
66 bool ret = RTGCtrl::Instance().PutThreadGroup(tgid); in HWTEST_F()
76 int tgid = RTGCtrl::Instance().GetThreadGroup(); in HWTEST_F()
81 bool ret = RTGCtrl::Instance().SetGroupWindowSize(tgid, WINDOW_SIZE); in HWTEST_F()
86 ret = RTGCtrl::Instance().PutThreadGroup(tgid); in HWTEST_F()
96 int tgid = RTGCtrl::Instance().GetThreadGroup(); in HWTEST_F()
101 bool ret = RTGCtrl::Instance().SetInvalidInterval(tgid, INVALID_INTERVAL); in HWTEST_F()
106 ret = RTGCtrl::Instance().PutThreadGroup(tgid); in HWTEST_F()
116 int tgid = RTGCtrl::Instance() in HWTEST_F()
[all...]
H A Dut_cgroup_qos.cpp66 ret = OSAttrManager::Instance()->UpdateSchedAttr(QoS(static_cast<int>(qos_defined_ive)), &attr); in HWTEST_F()
69 ret = OSAttrManager::Instance()->UpdateSchedAttr(QoS(static_cast<int>(qos_user_interactive)), &attr); in HWTEST_F()
76 OSAttrManager::Instance()->SetTidToCGroup(100); in HWTEST_F()
77 OSAttrManager::Instance()->SetTidToCGroup(-1); in HWTEST_F()
82 OSAttrManager::Instance()->SetCGroupCtlPara("", 1); in HWTEST_F()
83 OSAttrManager::Instance()->SetCGroupCtlPara("test", 1); in HWTEST_F()
88 OSAttrManager::Instance()->SetCGroupSetPara("", "1"); in HWTEST_F()
89 OSAttrManager::Instance()->SetCGroupSetPara("test", "1"); in HWTEST_F()
94 OSAttrManager::Instance()->SetTidToCGroupPrivate("test", 100); in HWTEST_F()
95 OSAttrManager::Instance() in HWTEST_F()
[all...]
/foundation/resourceschedule/ffrt/src/eu/
H A Dthread_group.h31 return tgid >= 0 && RTGCtrl::Instance().Enabled(); in Enabled()
40 tgid = RTGCtrl::Instance().GetThreadGroup(); in Init()
50 if (!RTGCtrl::Instance().PutThreadGroup(tgid)) { in Release()
65 RTGCtrl::Instance().Begin(tgid); in Begin()
73 RTGCtrl::Instance().End(tgid); in End()
82 return RTGCtrl::Instance().JoinThread(tgid, RTGCtrl::GetTID()); in Join()
90 return RTGCtrl::Instance().JoinThread(tgid, tid); in Join()
98 return RTGCtrl::Instance().RemoveThread(tgid, RTGCtrl::GetTID()); in Leave()
106 return RTGCtrl::Instance().RemoveThread(tgid, tid); in Leave()
114 return RTGCtrl::Instance() in UpdateFreq()
[all...]
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_client/unittest/ui/
H A Drs_hdr_manager_test.cpp47 RSHDRManager::Instance().ResetHDRNum(); in HWTEST_F()
48 ASSERT_TRUE(RSHDRManager::Instance().getHDRNum() == 0); in HWTEST_F()
49 int ret = RSHDRManager::Instance().IncreaseHDRNum(); in HWTEST_F()
51 RSHDRManager::Instance().ResetHDRNum(); in HWTEST_F()
61 RSHDRManager::Instance().ResetHDRNum(); in HWTEST_F()
62 ASSERT_TRUE(RSHDRManager::Instance().getHDRNum() == 0); in HWTEST_F()
63 int ret = RSHDRManager::Instance().IncreaseHDRNum(); in HWTEST_F()
64 ret = RSHDRManager::Instance().IncreaseHDRNum(); in HWTEST_F()
66 RSHDRManager::Instance().ResetHDRNum(); in HWTEST_F()
76 RSHDRManager::Instance() in HWTEST_F()
[all...]
/foundation/resourceschedule/ffrt/src/tm/
H A Dtask_factory.h26 static TaskFactory &Instance();
30 return Instance().alloc_(); in Alloc()
35 Instance().free_(task); in Free()
40 if (Instance().getUnfreedMem_ != nullptr) { in GetUnfreedMem()
41 return Instance().getUnfreedMem_(); in GetUnfreedMem()
48 return Instance().lockMem_(); in LockMem()
52 return Instance().unlockMem_(); in UnlockMem()
60 Instance().alloc_ = std::move(alloc); in RegistCb()
61 Instance().free_ = std::move(free); in RegistCb()
62 Instance() in RegistCb()
[all...]
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/pipeline/
H A Drs_unmarshal_thread_test.cpp46 RSUnmarshalThread::Instance().PostTask(func); in HWTEST_F()
47 RSUnmarshalThread::Instance().Start(); in HWTEST_F()
48 ASSERT_NE(RSUnmarshalThread::Instance().runner_, nullptr); in HWTEST_F()
49 ASSERT_NE(RSUnmarshalThread::Instance().handler_, nullptr); in HWTEST_F()
50 RSUnmarshalThread::Instance().PostTask(func); in HWTEST_F()
61 RSUnmarshalThread::Instance().Start(); in HWTEST_F()
62 ASSERT_NE(RSUnmarshalThread::Instance().runner_, nullptr); in HWTEST_F()
63 ASSERT_NE(RSUnmarshalThread::Instance().handler_, nullptr); in HWTEST_F()
68 RSUnmarshalThread::Instance().RecvParcel(data); in HWTEST_F()
72 RSUnmarshalThread::Instance() in HWTEST_F()
[all...]
H A Drs_uni_render_thread_test.cpp55 RSUniRenderThread& instance = RSUniRenderThread::Instance(); in HWTEST_F()
70 RSUniRenderThread& instance = RSUniRenderThread::Instance(); in HWTEST_F()
83 RSUniRenderThread& instance = RSUniRenderThread::Instance(); in HWTEST_F()
100 RSUniRenderThread& instance = RSUniRenderThread::Instance(); in HWTEST_F()
114 RSUniRenderThread& instance = RSUniRenderThread::Instance(); in HWTEST_F()
132 RSUniRenderThread& instance = RSUniRenderThread::Instance(); in HWTEST_F()
151 RSUniRenderThread& instance = RSUniRenderThread::Instance(); in HWTEST_F()
177 RSUniRenderThread& instance = RSUniRenderThread::Instance(); in HWTEST_F()
195 RSUniRenderThread& instance = RSUniRenderThread::Instance(); in HWTEST_F()
214 RSUniRenderThread& instance = RSUniRenderThread::Instance(); in HWTEST_F()
[all...]
/foundation/resourceschedule/ffrt/src/util/
H A Dffrt_facade.h31 static ExecuteUnit& inst = Instance().GetEUInstanceImpl(); in GetEUInstance()
37 static DependenceManager& inst = Instance().GetDMInstanceImpl(); in GetDMInstance()
43 PollerProxy& inst = Instance().GetPPInstanceImpl(); in GetPPInstance()
49 DelayedWorker& inst = Instance().GetDWInstanceImpl(); in GetDWInstance()
55 FFRTScheduler* inst = Instance().GetSchedInstanceImpl(); in GetSchedInstance()
62 static FFRTFacade& Instance() in Instance() function in ffrt::FFRTFacade
70 return ExecuteUnit::Instance(); in GetEUInstanceImpl()
75 return DependenceManager::Instance(); in GetDMInstanceImpl()
80 return PollerProxy::Instance(); in GetPPInstanceImpl()
90 return FFRTScheduler::Instance(); in GetSchedInstanceImpl()
[all...]
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/ipc_callbacks/
H A Drs_rt_refresh_callback_test.cpp46 RSRTRefreshCallback::Instance().ExecuteRefresh(); in HWTEST_F()
47 EXPECT_TRUE(RSRTRefreshCallback::Instance().callback_ == nullptr); in HWTEST_F()
49 RSRTRefreshCallback::Instance().SetRefresh(callback); in HWTEST_F()
50 RSRTRefreshCallback::Instance().ExecuteRefresh(); in HWTEST_F()
51 EXPECT_TRUE(RSRTRefreshCallback::Instance().callback_ != nullptr); in HWTEST_F()
59 RSRTRefreshCallback::Instance().SetRefresh(callback); in HWTEST_F()
60 RSRTRefreshCallback::Instance().ExecuteRefresh(); in HWTEST_F()
61 EXPECT_TRUE(RSRTRefreshCallback::Instance().callback_ != nullptr); in HWTEST_F()
/foundation/multimedia/media_foundation/test/unittest/
H A DTestPluginManager.cpp37 std::vector<std::string> plugins = PluginManager::Instance().ListPlugins(PluginType::DEMUXER); in HWTEST()
46 std::vector<std::string> plugins = PluginManager::Instance().ListPlugins(PluginType::AUDIO_DECODER); in HWTEST()
55 std::vector<std::string> plugins = PluginManager::Instance().ListPlugins(PluginType::AUDIO_SINK); in HWTEST()
61 ASSERT_TRUE(PluginManager::Instance().ListPlugins(PluginType::INVALID_TYPE).empty()); in HWTEST()
66 ASSERT_TRUE(PluginManager::Instance().ListPlugins(PluginType(256)).empty()); in HWTEST()
71 std::shared_ptr<PluginInfo> info = PluginManager::Instance().GetPluginInfo( in HWTEST()
78 ASSERT_TRUE(PluginManager::Instance().GetPluginInfo(PluginType::SOURCE, "UtSourceTest3") == nullptr); in HWTEST()
83 ASSERT_TRUE(PluginManager::Instance().GetPluginInfo(PluginType::SOURCE, "") == nullptr); in HWTEST()
88 ASSERT_TRUE(PluginManager::Instance().GetPluginInfo(PluginType::INVALID_TYPE, "") == nullptr); in HWTEST()
93 ASSERT_TRUE(PluginManager::Instance() in HWTEST()
[all...]
/foundation/graphic/graphic_2d/graphic_test/graphic_test_framework/src/
H A Drs_graphic_test.cpp37 const auto& extInfo = ::OHOS::Rosen::TestDefManager::Instance().GetTestInfo( in ShouldRunCurrentTest()
39 const auto& params = RSParameterParse::Instance(); in ShouldRunCurrentTest()
95 RSGraphicTestDirector::Instance().FlushMessage(); in TearDown()
96 WaitTimeout(RSParameterParse::Instance().testCaseWaitTime); in TearDown()
100 const auto& extInfo = ::OHOS::Rosen::TestDefManager::Instance().GetTestInfo( in TearDown()
110 WaitTimeout(RSParameterParse::Instance().manualTestWaitTime); in TearDown()
112 auto pixelMap = RSGraphicTestDirector::Instance().TakeScreenCaptureAndWait( in TearDown()
113 RSParameterParse::Instance().surfaceCaptureWaitTime); in TearDown()
130 WaitTimeout(RSParameterParse::Instance().testCaseWaitTime); in TearDown()
133 RSGraphicTestDirector::Instance() in TearDown()
[all...]
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/memory/
H A Drs_memory_track_test.cpp43 MemoryTrack::Instance().AddNodeRecord(id, info); in HWTEST_F()
47 MemoryTrack::Instance().RemoveNodeRecord(id); in HWTEST_F()
60 MemoryTrack::Instance().CountRSMemory(pid1); in HWTEST_F()
75 MemoryTrack::Instance().CountRSMemory(pid1); in HWTEST_F()
90 MemoryTrack::Instance().DumpMemoryStatistics(log, func); in HWTEST_F()
105 MemoryTrack::Instance().AddPictureRecord(addr, info); in HWTEST_F()
119 MemoryTrack::Instance().RemovePictureRecord(addr); in HWTEST_F()
135 MemoryTrack::Instance().UpdatePictureInfo(addr, nodeId, pid); in HWTEST_F()
148 float ret = MemoryTrack::Instance().GetAppMemorySizeInMB(); in HWTEST_F()
161 const char* ret = MemoryTrack::Instance() in HWTEST_F()
[all...]
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rsbackgroundthread_fuzzer/
H A Drsbackgroundthread_fuzzer.cpp64 RSBackgroundThread::Instance().PostTask([]() {}); in DoPostTask()
77 RSBackgroundThread::Instance().PostSyncTask([]() {}); in DoPostSyncTask()
92 RSBackgroundThread::Instance().CreateShareEglContext(); in DoCreateShareEglContext()
95 RSBackgroundThread::Instance().CreateShareEglContext(); in DoCreateShareEglContext()
96 RSBackgroundThread::Instance().renderContext_ = new RenderContext(); in DoCreateShareEglContext()
97 delete RSBackgroundThread::Instance().renderContext_; in DoCreateShareEglContext()
98 RSBackgroundThread::Instance().renderContext_ = nullptr; in DoCreateShareEglContext()
114 RSBackgroundThread::Instance().InitRenderContext(context); in DoInitRenderContext()
127 RSBackgroundThread::Instance().GetShareGPUContext(); in DoGetShareGPUContext()
140 RSBackgroundThread::Instance() in DoCreateShareGPUContext()
[all...]
/foundation/graphic/graphic_2d/rosen/test/render/render/unittest/pipeline/
H A Drs_uni_render_thread_ext_test.cpp55 RSUniRenderThread& instance = RSUniRenderThread::Instance(); in HWTEST_F()
70 RSUniRenderThread& instance = RSUniRenderThread::Instance(); in HWTEST_F()
83 RSUniRenderThread& instance = RSUniRenderThread::Instance(); in HWTEST_F()
100 RSUniRenderThread& instance = RSUniRenderThread::Instance(); in HWTEST_F()
114 RSUniRenderThread& instance = RSUniRenderThread::Instance(); in HWTEST_F()
132 RSUniRenderThread& instance = RSUniRenderThread::Instance(); in HWTEST_F()
151 RSUniRenderThread& instance = RSUniRenderThread::Instance(); in HWTEST_F()
177 RSUniRenderThread& instance = RSUniRenderThread::Instance(); in HWTEST_F()
195 RSUniRenderThread& instance = RSUniRenderThread::Instance(); in HWTEST_F()
214 RSUniRenderThread& instance = RSUniRenderThread::Instance(); in HWTEST_F()
[all...]
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/common/
H A Drs_common_hook_test.cpp46 RsCommonHook::Instance().RegisterStartNewAnimationListener(callback); in HWTEST_F()
48 RsCommonHook::Instance().OnStartNewAnimation(componentName); in HWTEST_F()
60 RsCommonHook::Instance().RegisterStartNewAnimationListener(nullptr); in HWTEST_F()
62 RsCommonHook::Instance().OnStartNewAnimation(componentName); in HWTEST_F()
63 ASSERT_EQ(RsCommonHook::Instance().startNewAniamtionFunc_, nullptr); in HWTEST_F()
77 RsCommonHook::Instance().SetComponentPowerFpsFunc(callback); in HWTEST_F()
79 RsCommonHook::Instance().GetComponentPowerFps(range); in HWTEST_F()
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/offscreen_render/
H A Drs_offscreen_render_thread_test.cpp51 RSOffscreenRenderThread::Instance().PostTask(task); in HWTEST_F()
62 ASSERT_TRUE(RSOffscreenRenderThread::Instance().GetCaptureTask(0) == nullptr); in HWTEST_F()
74 RSOffscreenRenderThread::Instance().handler_.reset(); in HWTEST_F()
75 RSOffscreenRenderThread::Instance().PostTask(task); in HWTEST_F()
77 RSOffscreenRenderThread::Instance().InSertCaptureTask(1, taskTwo); in HWTEST_F()
78 ASSERT_NE(RSOffscreenRenderThread::Instance().GetCaptureTask(1), nullptr); in HWTEST_F()
79 ASSERT_EQ(RSOffscreenRenderThread::Instance().GetCaptureTask(2), nullptr); in HWTEST_F()
80 RSOffscreenRenderThread::Instance().GetRenderContext(); in HWTEST_F()
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/
H A Drs_draw_frame.cpp37 : unirenderInstance_(RSUniRenderThread::Instance()), rsParallelType_(RSSystemParameters::GetRsParallelType()) in RSDrawFrame()
59 RSUifirstManager::Instance().ProcessSubDoneNode(); in RenderFrame()
61 RSSurfaceBufferCallbackManager::Instance().RunSurfaceBufferCallback(); in RenderFrame()
64 RSMainThread::Instance()->ProcessUiCaptureTasks(); in RenderFrame()
65 RSUifirstManager::Instance().PostUifistSubTasks(); in RenderFrame()
73 RSMainThread::Instance()->CallbackDrawContextStatusToWMS(true); in RenderFrame()
74 RSRenderNodeGC::Instance().ReleaseDrawableMemory(); in RenderFrame()
124 RSMainThread::Instance()->GetRSVsyncRateReduceManager().FrameDurationBegin(); in PostAndWait()
127 RSMainThread::Instance()->GetRSVsyncRateReduceManager().FrameDurationEnd(); in PostAndWait()
157 RSMainThread::Instance() in Sync()
[all...]
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/ui/
H A Drs_ui_director.cpp90 RSRenderThread::Instance().SetCacheDir(cacheDir_); in Init()
92 RSRenderThread::Instance().Start(); in Init()
95 RSNodeMap::Instance().GetAnimationFallbackNode()->isRenderServiceNode_ = true; in Init()
97 if (auto rsApplicationAgent = RSApplicationAgentImpl::Instance()) { in Init()
121 RSRenderThread::Instance().Start(); in StartTextureExport()
123 RSRenderThread::Instance().UpdateWindowStatus(true); in StartTextureExport()
131 RSRenderThread::Instance().UpdateWindowStatus(true); in GoForeground()
134 if (auto node = RSNodeMap::Instance().GetNode<RSRootNode>(root_)) { in GoForeground()
150 RSRenderThread::Instance().UpdateWindowStatus(false); in GoBackground()
153 if (auto node = RSNodeMap::Instance() in GoBackground()
[all...]
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/drawable/dfx/
H A Drs_skp_capture_dfx.cpp51 renderContext = RSUniRenderThread::Instance().GetRenderEngine()->GetRenderContext(); in TryCapture()
63 RSRecordingThread::Instance(renderContext.get()).CheckAndRecording(); in TryCapture()
68 auto renderContext = RSUniRenderThread::Instance().GetRenderEngine()->GetRenderContext(); in EndCapture()
73 if (!RSRecordingThread::Instance(renderContext.get()).GetRecordingEnabled()) { in EndCapture()
81 std::to_string(RSRecordingThread::Instance(renderContext.get()).GetCurDumpFrame())); in EndCapture()
82 RSRecordingThread::Instance(renderContext.get()).RecordingToFile(drawCmdList); in EndCapture()

Completed in 10 milliseconds

12345678910>>...19