Android Hardware Abstraction Layer
Data Fields
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.

Definition at line 255 of file gralloc.h.

Field Documentation

int(* alloc)(struct alloc_device_t *dev, int w, int h, int format, int usage, buffer_handle_t *handle, int *stride)

Definition at line 272 of file gralloc.h.

struct hw_device_t common

Definition at line 256 of file gralloc.h.

void(* dump)(struct alloc_device_t *dev, char *buff, int buff_len)

Definition at line 293 of file gralloc.h.

int(* free)(struct alloc_device_t *dev, buffer_handle_t handle)

Definition at line 286 of file gralloc.h.

void* reserved_proc[7]

Definition at line 295 of file gralloc.h.


The documentation for this struct was generated from the following file: