diff options
author | Mathias Agopian <mathias@google.com> | 2009-06-24 22:39:26 -0700 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2009-06-25 00:09:27 -0700 |
commit | 26c28b16f3464eeb98b091b915ccf494ac31c35f (patch) | |
tree | a13c8d030ad3f9988c4958d7cbac328d20df7dcb /libs/surfaceflinger/DisplayHardware | |
parent | c1e3ec555b79b1e45fccbdf0bbc8ac2d51902860 (diff) | |
download | frameworks_base-26c28b16f3464eeb98b091b915ccf494ac31c35f.zip frameworks_base-26c28b16f3464eeb98b091b915ccf494ac31c35f.tar.gz frameworks_base-26c28b16f3464eeb98b091b915ccf494ac31c35f.tar.bz2 |
make use of new eglGetRenderBufferANDROID extension to clean-up a bit a few hacks added recently
Diffstat (limited to 'libs/surfaceflinger/DisplayHardware')
-rw-r--r-- | libs/surfaceflinger/DisplayHardware/DisplayHardware.cpp | 5 | ||||
-rw-r--r-- | libs/surfaceflinger/DisplayHardware/DisplayHardware.h | 3 |
2 files changed, 0 insertions, 8 deletions
diff --git a/libs/surfaceflinger/DisplayHardware/DisplayHardware.cpp b/libs/surfaceflinger/DisplayHardware/DisplayHardware.cpp index 925f5cc..1719b74 100644 --- a/libs/surfaceflinger/DisplayHardware/DisplayHardware.cpp +++ b/libs/surfaceflinger/DisplayHardware/DisplayHardware.cpp @@ -348,8 +348,3 @@ void DisplayHardware::makeCurrent() const { eglMakeCurrent(mDisplay, mSurface, mSurface, mContext); } - -sp<FramebufferNativeWindow> DisplayHardware::getFb() const { - return mNativeWindow; -} - diff --git a/libs/surfaceflinger/DisplayHardware/DisplayHardware.h b/libs/surfaceflinger/DisplayHardware/DisplayHardware.h index 240c5d1..8972d51 100644 --- a/libs/surfaceflinger/DisplayHardware/DisplayHardware.h +++ b/libs/surfaceflinger/DisplayHardware/DisplayHardware.h @@ -84,9 +84,6 @@ public: return Rect(mWidth, mHeight); } - // FIXME: needed in LayerBuffer for msm7k/copybit hack - sp<FramebufferNativeWindow> getFb() const; - private: void init(uint32_t displayIndex) __attribute__((noinline)); void fini() __attribute__((noinline)); |