OSDN Git Service

sf: Defer DispSync initialization
[android-x86/frameworks-native.git] / services / surfaceflinger / DispSync.h
index c9f3b04..880a24d 100644 (file)
@@ -59,6 +59,8 @@ public:
     explicit DispSync(const char* name);
     ~DispSync();
 
+    void init(bool hasSyncFramework, int64_t dispSyncPresentTimeOffset);
+
     // reset clears the resync samples and error value.
     void reset();