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/ui/FramebufferNativeWindow.cpp | |
parent | c1e3ec555b79b1e45fccbdf0bbc8ac2d51902860 (diff) |
make use of new eglGetRenderBufferANDROID extension to clean-up a bit a few hacks added recently
Diffstat (limited to 'libs/ui/FramebufferNativeWindow.cpp')
-rw-r--r-- | libs/ui/FramebufferNativeWindow.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/libs/ui/FramebufferNativeWindow.cpp b/libs/ui/FramebufferNativeWindow.cpp index 406c0725c063..8c8fd6bb0f9d 100644 --- a/libs/ui/FramebufferNativeWindow.cpp +++ b/libs/ui/FramebufferNativeWindow.cpp @@ -63,11 +63,6 @@ private: }; -android_native_buffer_t const* FramebufferNativeWindow::getBackbuffer() const { - return static_cast<android_native_buffer_t const*>(buffers[mLastDequeued].get()); -} - - /* * This implements the (main) framebuffer management. This class is used * mostly by SurfaceFlinger, but also by command line GL application. @@ -170,7 +165,6 @@ int FramebufferNativeWindow::dequeueBuffer(android_native_window_t* window, if (self->mBufferHead >= self->mNumBuffers) self->mBufferHead = 0; - self->mLastDequeued = index; *buffer = self->buffers[index].get(); return 0; |