diff options
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 |
commit | 21c59d0070fe24a8e04e52ce04d511a924a9932f (patch) | |
tree | fb3f5f8519fce57c714dce607b12dc44aba67702 /include/ui/FramebufferNativeWindow.h | |
parent | e71212ba5397387100a578d23b15862518a7a859 (diff) | |
download | frameworks_native-21c59d0070fe24a8e04e52ce04d511a924a9932f.zip frameworks_native-21c59d0070fe24a8e04e52ce04d511a924a9932f.tar.gz frameworks_native-21c59d0070fe24a8e04e52ce04d511a924a9932f.tar.bz2 |
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.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/ui/FramebufferNativeWindow.h b/include/ui/FramebufferNativeWindow.h index 4b281db..0db245a 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; - } }; // --------------------------------------------------------------------------- |