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.

Definition at line 326 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 343 of file gralloc.h .

struct hw_device_t common

Definition at line 327 of file gralloc.h .

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

Definition at line 364 of file gralloc.h .

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

Definition at line 357 of file gralloc.h .

void* reserved_proc[7]

Definition at line 366 of file gralloc.h .


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