diff options
Diffstat (limited to 'include/ui/GraphicBufferAllocator.h')
-rw-r--r-- | include/ui/GraphicBufferAllocator.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/ui/GraphicBufferAllocator.h b/include/ui/GraphicBufferAllocator.h index 6342aac..a4d5b8c 100644 --- a/include/ui/GraphicBufferAllocator.h +++ b/include/ui/GraphicBufferAllocator.h @@ -68,6 +68,11 @@ public: status_t alloc(uint32_t w, uint32_t h, PixelFormat format, int usage, buffer_handle_t* handle, int32_t* stride); +#ifdef QCOM_BSP + status_t alloc(uint32_t w, uint32_t h, PixelFormat format, int usage, + buffer_handle_t* handle, int32_t* stride, uint32_t bufferSize); +#endif + status_t free(buffer_handle_t handle); void dump(String8& res) const; |