summaryrefslogtreecommitdiff
path: root/include/ui/FramebufferNativeWindow.h
diff options
context:
space:
mode:
author Mathias Agopian <mathias@google.com> 2009-05-05 00:59:23 -0700
committer Mathias Agopian <mathias@google.com> 2009-05-05 00:59:23 -0700
commite633f9339a2556771c79c784b0b23a9aade30485 (patch)
treebb334508992dc3a8320957bb39e0016d047530ad /include/ui/FramebufferNativeWindow.h
parent430f2ed5c03312700131a70c858b98e1cc6bc161 (diff)
get rid of android_native_buffer_t::getHandle() and replace it with an handle field
this abstraction was not necessary. things are easier now.
Diffstat (limited to 'include/ui/FramebufferNativeWindow.h')
-rw-r--r--include/ui/FramebufferNativeWindow.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/ui/FramebufferNativeWindow.h b/include/ui/FramebufferNativeWindow.h
index 4b281db84433..0db245af44dd 100644
--- a/include/ui/FramebufferNativeWindow.h
+++ b/include/ui/FramebufferNativeWindow.h
@@ -50,17 +50,10 @@ public:
android_native_buffer_t::height = h;
android_native_buffer_t::format = f;
android_native_buffer_t::usage = u;
- android_native_buffer_t::getHandle = getHandle;
}
-public:
- buffer_handle_t handle;
private:
friend class LightRefBase<NativeBuffer>;
~NativeBuffer() { }; // this class cannot be overloaded
- static int getHandle(android_native_buffer_t const * base, buffer_handle_t* handle) {
- *handle = getSelf(base)->handle;
- return 0;
- }
};
// ---------------------------------------------------------------------------