diff options
Diffstat (limited to 'services/surfaceflinger/Scheduler/InjectVSyncSource.h')
-rw-r--r-- | services/surfaceflinger/Scheduler/InjectVSyncSource.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/services/surfaceflinger/Scheduler/InjectVSyncSource.h b/services/surfaceflinger/Scheduler/InjectVSyncSource.h index 016b076444..975c9db41a 100644 --- a/services/surfaceflinger/Scheduler/InjectVSyncSource.h +++ b/services/surfaceflinger/Scheduler/InjectVSyncSource.h @@ -35,17 +35,16 @@ public: mCallback = callback; } - void onInjectSyncEvent(nsecs_t when, nsecs_t expectedVSyncTimestamp, - nsecs_t deadlineTimestamp) { + void onInjectSyncEvent(nsecs_t when, nsecs_t expectedVSyncTimestamp) { std::lock_guard<std::mutex> lock(mCallbackMutex); if (mCallback) { - mCallback->onVSyncEvent(when, expectedVSyncTimestamp, deadlineTimestamp); + mCallback->onVSyncEvent(when, expectedVSyncTimestamp); } } const char* getName() const override { return "inject"; } void setVSyncEnabled(bool) override {} - void setDuration(std::chrono::nanoseconds, std::chrono::nanoseconds) override {} + void setPhaseOffset(nsecs_t) override {} void dump(std::string&) const override {} private: |