Loading services/surfaceflinger/Scheduler/EventThread.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -525,7 +525,7 @@ void EventThread::threadMain(std::unique_lock<std::mutex>& lock) { bool EventThread::shouldConsumeEvent(const DisplayEventReceiver::Event& event, const sp<EventThreadConnection>& connection) const { const auto throttleVsync = [&] { const auto throttleVsync = [&]() REQUIRES(mMutex) { const auto& vsyncData = event.vsync.vsyncData; if (connection->frameRate.isValid()) { return !mVsyncSchedule->getTracker() Loading services/surfaceflinger/Scheduler/EventThread.h +1 −1 Original line number Diff line number Diff line Loading @@ -205,7 +205,7 @@ private: TracedOrdinal<int> mVsyncTracer; TracedOrdinal<std::chrono::nanoseconds> mWorkDuration GUARDED_BY(mMutex); std::chrono::nanoseconds mReadyDuration GUARDED_BY(mMutex); std::shared_ptr<scheduler::VsyncSchedule> mVsyncSchedule; std::shared_ptr<scheduler::VsyncSchedule> mVsyncSchedule GUARDED_BY(mMutex); TimePoint mLastVsyncCallbackTime GUARDED_BY(mMutex) = TimePoint::now(); scheduler::VSyncCallbackRegistration mVsyncRegistration GUARDED_BY(mMutex); frametimeline::TokenManager* const mTokenManager; Loading Loading
services/surfaceflinger/Scheduler/EventThread.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -525,7 +525,7 @@ void EventThread::threadMain(std::unique_lock<std::mutex>& lock) { bool EventThread::shouldConsumeEvent(const DisplayEventReceiver::Event& event, const sp<EventThreadConnection>& connection) const { const auto throttleVsync = [&] { const auto throttleVsync = [&]() REQUIRES(mMutex) { const auto& vsyncData = event.vsync.vsyncData; if (connection->frameRate.isValid()) { return !mVsyncSchedule->getTracker() Loading
services/surfaceflinger/Scheduler/EventThread.h +1 −1 Original line number Diff line number Diff line Loading @@ -205,7 +205,7 @@ private: TracedOrdinal<int> mVsyncTracer; TracedOrdinal<std::chrono::nanoseconds> mWorkDuration GUARDED_BY(mMutex); std::chrono::nanoseconds mReadyDuration GUARDED_BY(mMutex); std::shared_ptr<scheduler::VsyncSchedule> mVsyncSchedule; std::shared_ptr<scheduler::VsyncSchedule> mVsyncSchedule GUARDED_BY(mMutex); TimePoint mLastVsyncCallbackTime GUARDED_BY(mMutex) = TimePoint::now(); scheduler::VSyncCallbackRegistration mVsyncRegistration GUARDED_BY(mMutex); frametimeline::TokenManager* const mTokenManager; Loading