diff options
author | 2009-06-24 22:39:26 -0700 | |
---|---|---|
committer | 2009-06-25 00:09:27 -0700 | |
commit | 2ab55a4e31c37d74abdd85486e1f4045c7f708e2 (patch) | |
tree | d4ff7f4fe7ac7a6078eb819077e1325d7938e28e /libs/ui/FramebufferNativeWindow.cpp | |
parent | 8d2e83b9f44c7f2207a312fcfda8eb3a4c26745f (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 406c0725c0..8c8fd6bb0f 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; |