summaryrefslogtreecommitdiffstats
path: root/services/surfaceflinger/DisplayDevice.h
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2012-08-04 21:10:38 -0700
committerMathias Agopian <mathias@google.com>2012-08-04 21:23:47 -0700
commit888c822c4cb6976aab9256c58bae9e17e3e55c5c (patch)
treee1d93016bcd7171077378abca4712bfff7dd4ef9 /services/surfaceflinger/DisplayDevice.h
parent72131d9ef13ffaf3af4ca2fe700426b82baac9fa (diff)
downloadframeworks_native-888c822c4cb6976aab9256c58bae9e17e3e55c5c.zip
frameworks_native-888c822c4cb6976aab9256c58bae9e17e3e55c5c.tar.gz
frameworks_native-888c822c4cb6976aab9256c58bae9e17e3e55c5c.tar.bz2
remove a dependency of DisplayDevice on the refresh rate
this remove a dependency (not all) on FramebufferSurface Change-Id: Ie07ce70760cdcedfb41b5b41bea8da45637bf474
Diffstat (limited to 'services/surfaceflinger/DisplayDevice.h')
-rw-r--r--services/surfaceflinger/DisplayDevice.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/services/surfaceflinger/DisplayDevice.h b/services/surfaceflinger/DisplayDevice.h
index 96590a0..d7aa6fb 100644
--- a/services/surfaceflinger/DisplayDevice.h
+++ b/services/surfaceflinger/DisplayDevice.h
@@ -82,14 +82,11 @@ public:
float getDpiX() const;
float getDpiY() const;
- float getRefreshRate() const;
float getDensity() const;
int getWidth() const;
int getHeight() const;
PixelFormat getFormat() const;
uint32_t getFlags() const;
- nsecs_t getRefreshPeriod() const;
- status_t getInfo(DisplayInfo* info) const;
EGLSurface getEGLSurface() const;
@@ -149,14 +146,12 @@ private:
EGLContext mContext;
float mDpiX;
float mDpiY;
- float mRefreshRate;
float mDensity;
int mDisplayWidth;
int mDisplayHeight;
PixelFormat mFormat;
uint32_t mFlags;
mutable uint32_t mPageFlipCount;
- nsecs_t mRefreshPeriod;
/*
* Can only accessed from the main thread, these members