diff options
Diffstat (limited to 'services/surfaceflinger/DisplayHardware/DisplayHardware.h')
-rw-r--r-- | services/surfaceflinger/DisplayHardware/DisplayHardware.h | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/services/surfaceflinger/DisplayHardware/DisplayHardware.h b/services/surfaceflinger/DisplayHardware/DisplayHardware.h index 45d4b45..f02c954 100644 --- a/services/surfaceflinger/DisplayHardware/DisplayHardware.h +++ b/services/surfaceflinger/DisplayHardware/DisplayHardware.h @@ -32,7 +32,6 @@ #include "GLExtensions.h" #include "DisplayHardware/DisplayHardwareBase.h" -#include "DisplayHardware/VSyncBarrier.h" namespace android { @@ -75,9 +74,6 @@ public: uint32_t getMaxTextureSize() const; uint32_t getMaxViewportDims() const; - // waits for the next vsync and returns the timestamp of when it happened - nsecs_t waitForVSync() const; - uint32_t getPageFlipCount() const; EGLDisplay getEGLDisplay() const { return mDisplay; } @@ -99,7 +95,6 @@ public: private: void init(uint32_t displayIndex) __attribute__((noinline)); void fini() __attribute__((noinline)); - int32_t getDelayToNextVSyncUs(nsecs_t* timestamp) const; sp<SurfaceFlinger> mFlinger; EGLDisplay mDisplay; @@ -117,12 +112,7 @@ private: mutable uint32_t mPageFlipCount; GLint mMaxViewportDims[2]; GLint mMaxTextureSize; - VSyncBarrier mVSync; - - mutable Mutex mFakeVSyncMutex; - mutable nsecs_t mNextFakeVSync; - nsecs_t mRefreshPeriod; - + HWComposer* mHwc; sp<FramebufferNativeWindow> mNativeWindow; |