Home
last modified time | relevance | path

Searched refs:vsyncStation_ (Results 1 – 16 of 16) sorted by relevance

/ohos5.0/foundation/window/window_manager/wm/src/
H A Droot_scene.cpp78 vsyncStation_ = std::make_shared<VsyncStation>(nodeId); in RootScene()
216 vsyncStation_->RequestVsync(vsyncCallback); in RequestVsync()
221 return vsyncStation_->GetVSyncPeriod(); in GetVSyncPeriod()
226 vsyncStation_->FlushFrameRate(rate, animatorExpectedFrameRate, rateType); in FlushFrameRate()
231 int32_t requestTimes = vsyncStation_->GetRequestVsyncTimes(); in IsLastFrameLayoutFinished()
238 vsyncStation_->DecreaseRequestVsyncTimes(); in OnFlushUIParams()
266 vsyncStation_->SetUiDvsyncSwitch(dvsyncSwitch); in SetUiDvsyncSwitch()
H A Dscreen_scene.cpp40 vsyncStation_ = std::make_shared<VsyncStation>(nodeId); in ScreenScene()
62 vsyncStation_->Destroy(); in Destroy()
158 vsyncStation_->RequestVsync(vsyncCallback); in RequestVsync()
163 return vsyncStation_->GetVSyncPeriod(); in GetVSyncPeriod()
168 vsyncStation_->FlushFrameRate(rate, animatorExpectedFrameRate, rateType); in FlushFrameRate()
H A Dwindow_session_impl.cpp427 if (!property_ || vsyncStation_ == nullptr || !vsyncStation_->IsVsyncReceiverCreated()) { in WindowSessionCreateCheck()
2675 if (vsyncStation_ != nullptr) { in ClearVsyncStation()
2676 vsyncStation_.reset(); in ClearVsyncStation()
2717 if (vsyncStation_ == nullptr) { in NotifyAfterForeground()
2722 vsyncStation_->GetFrameRateLinkerId()); in NotifyAfterForeground()
2741 if (vsyncStation_ == nullptr) { in NotifyAfterBackground()
3749 if (vsyncStation_ == nullptr) { in RequestVsync()
3759 if (vsyncStation_ == nullptr) { in GetVSyncPeriod()
3763 return vsyncStation_->GetVSyncPeriod(); in GetVSyncPeriod()
3769 if (vsyncStation_ == nullptr) { in FlushFrameRate()
[all …]
H A Dwindow_impl.cpp120 vsyncStation_ = std::make_shared<VsyncStation>(surfaceNode_->GetId()); in WindowImpl()
1283 if (vsyncStation_ == nullptr || !vsyncStation_->IsVsyncReceiverCreated()) { in WindowCreateCheck()
1561 if (vsyncStation_ != nullptr) { in ClearVsyncStation()
1562 vsyncStation_.reset(); in ClearVsyncStation()
3389 if (!SingletonContainer::IsDestroyed() && vsyncStation_ != nullptr) { in RequestVsync()
3390 vsyncStation_->RequestVsync(vsyncCallback); in RequestVsync()
3397 if (!SingletonContainer::IsDestroyed() && vsyncStation_ != nullptr) { in GetVSyncPeriod()
3398 return vsyncStation_->GetVSyncPeriod(); in GetVSyncPeriod()
H A Dwindow_extension_session_impl.cpp84 if (vsyncStation_ == nullptr || !vsyncStation_->IsVsyncReceiverCreated()) { in Create()
/ohos5.0/foundation/window/window_manager/wm/include/
H A Dscreen_scene.h93 std::shared_ptr<VsyncStation> vsyncStation_ = nullptr; variable
H A Droot_scene.h135 std::shared_ptr<VsyncStation> vsyncStation_ = nullptr; variable
H A Dwindow_impl.h514 std::shared_ptr<VsyncStation> vsyncStation_ = nullptr; variable
H A Dwindow_session_impl.h370 std::shared_ptr<VsyncStation> vsyncStation_ = nullptr; variable
/ohos5.0/foundation/window/window_manager/wm/test/unittest/
H A Dwindow_session_impl_two_test.cpp459 auto vsyncStation = window->vsyncStation_;
463 window->vsyncStation_ = nullptr;
466 window->vsyncStation_ = vsyncStation;
481 auto vsyncStation = window->vsyncStation_;
485 window->vsyncStation_ = nullptr;
488 window->vsyncStation_ = vsyncStation;
H A Dwindow_impl_test5.cpp524 window->vsyncStation_ = std::make_shared<VsyncStation>(1);
527 window->vsyncStation_ = nullptr;
551 window->vsyncStation_ = std::make_shared<VsyncStation>(1);
554 window->vsyncStation_ = nullptr;
H A Dwindow_session_impl_test.cpp797 window->vsyncStation_ = nullptr;
814 ASSERT_EQ(window->vsyncStation_, nullptr);
1364 window->vsyncStation_ = nullptr;
1392 window->vsyncStation_ = nullptr;
2064 window->vsyncStation_ = nullptr;
H A Dwindow_session_impl_test4.cpp1182 window->vsyncStation_ = nullptr;
1199 window->vsyncStation_ = nullptr;
H A Dwindow_impl_test.cpp345 window->vsyncStation_ = nullptr;
/ohos5.0/foundation/window/window_manager/previewer/src/
H A Dwindow_impl.cpp64 vsyncStation_ = std::make_shared<VsyncStation>(surfaceNode_->GetId()); in CreateSurfaceNode()
835 if (vsyncStation_ == nullptr) { in RequestVsync()
839 vsyncStation_->RequestVsync(vsyncCallback); in RequestVsync()
/ohos5.0/foundation/window/window_manager/previewer/include/
H A Dwindow_impl.h296 std::shared_ptr<VsyncStation> vsyncStation_ = nullptr; variable