Loading services/surfaceflinger/Scheduler/Scheduler.cpp +1 −1 Original line number Original line Diff line number Diff line Loading @@ -584,7 +584,7 @@ void Scheduler::onHardwareVsyncRequest(PhysicalDisplayId id, bool enabled) { // On main thread to serialize reads/writes of pending hardware VSYNC state. // On main thread to serialize reads/writes of pending hardware VSYNC state. static_cast<void>( static_cast<void>( schedule([=]() FTL_FAKE_GUARD(mDisplayLock) FTL_FAKE_GUARD(kMainThreadContext) { schedule([=, this]() FTL_FAKE_GUARD(mDisplayLock) FTL_FAKE_GUARD(kMainThreadContext) { ATRACE_NAME(ftl::Concat(whence, ' ', id.value, ' ', enabled).c_str()); ATRACE_NAME(ftl::Concat(whence, ' ', id.value, ' ', enabled).c_str()); if (const auto displayOpt = mDisplays.get(id)) { if (const auto displayOpt = mDisplays.get(id)) { Loading Loading
services/surfaceflinger/Scheduler/Scheduler.cpp +1 −1 Original line number Original line Diff line number Diff line Loading @@ -584,7 +584,7 @@ void Scheduler::onHardwareVsyncRequest(PhysicalDisplayId id, bool enabled) { // On main thread to serialize reads/writes of pending hardware VSYNC state. // On main thread to serialize reads/writes of pending hardware VSYNC state. static_cast<void>( static_cast<void>( schedule([=]() FTL_FAKE_GUARD(mDisplayLock) FTL_FAKE_GUARD(kMainThreadContext) { schedule([=, this]() FTL_FAKE_GUARD(mDisplayLock) FTL_FAKE_GUARD(kMainThreadContext) { ATRACE_NAME(ftl::Concat(whence, ' ', id.value, ' ', enabled).c_str()); ATRACE_NAME(ftl::Concat(whence, ' ', id.value, ' ', enabled).c_str()); if (const auto displayOpt = mDisplays.get(id)) { if (const auto displayOpt = mDisplays.get(id)) { Loading