alloc_device_t Struct Reference
alloc_device_t Struct Reference
#include <
gralloc.h
>
Data Fields |
|
struct hw_device_t | common |
int(* | alloc )(struct alloc_device_t *dev, int w, int h, int format, int usage, buffer_handle_t *handle, int *stride) |
int(* | free )(struct alloc_device_t *dev, buffer_handle_t handle) |
void(* | dump )(struct alloc_device_t *dev, char *buff, int buff_len) |
void * | reserved_proc [7] |
Detailed Description
Every device data structure must begin with hw_device_t followed by module specific public methods and attributes.
Field Documentation
int(* alloc)(struct alloc_device_t *dev, int w, int h, int format, int usage, buffer_handle_t *handle, int *stride) |
struct hw_device_t common |
void(* dump)(struct alloc_device_t *dev, char *buff, int buff_len) |
int(* free)(struct alloc_device_t *dev, buffer_handle_t handle) |
The documentation for this struct was generated from the following file:
- hardware/libhardware/include/hardware/ gralloc.h