diff options
| author | 2009-05-05 00:59:23 -0700 | |
|---|---|---|
| committer | 2009-05-05 00:59:23 -0700 | |
| commit | 21c59d0070fe24a8e04e52ce04d511a924a9932f (patch) | |
| tree | fb3f5f8519fce57c714dce607b12dc44aba67702 /include/ui/Surface.h | |
| parent | e71212ba5397387100a578d23b15862518a7a859 (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/Surface.h')
| -rw-r--r-- | include/ui/Surface.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/include/ui/Surface.h b/include/ui/Surface.h index ce507195a7..e9bb1b3f47 100644 --- a/include/ui/Surface.h +++ b/include/ui/Surface.h @@ -50,10 +50,6 @@ class SurfaceBuffer LightRefBase<SurfaceBuffer> > { public: - buffer_handle_t getHandle() const { - return handle; - } - status_t lock(uint32_t usage, void** vaddr); status_t lock(uint32_t usage, const Rect& rect, void** vaddr); status_t unlock(); @@ -62,7 +58,6 @@ protected: SurfaceBuffer(); SurfaceBuffer(const Parcel& reply); virtual ~SurfaceBuffer(); - buffer_handle_t handle; bool mOwner; inline const BufferMapper& getBufferMapper() const { return mBufferMapper; } @@ -80,9 +75,6 @@ private: static status_t writeToParcel(Parcel* reply, android_native_buffer_t const* buffer); - static int getHandle(android_native_buffer_t const * base, - buffer_handle_t* handle); - BufferMapper& mBufferMapper; }; |