Home
last modified time | relevance | path

Searched refs:alloc_device_t (Results 1 – 3 of 3) sorted by relevance

/external/mesa3d/include/android_stub/hardware/
Dgralloc.h358 typedef struct alloc_device_t { struct
375 int (*alloc)(struct alloc_device_t* dev, argument
389 int (*free)(struct alloc_device_t* dev, argument
396 void (*dump)(struct alloc_device_t *dev, char *buff, int buff_len); argument
399 } alloc_device_t; argument
405 struct alloc_device_t** device) { in gralloc_open()
410 static inline int gralloc_close(struct alloc_device_t* device) { in gralloc_close()
/external/minigbm/cros_gralloc/gralloc0/
Dgralloc0.cc17 std::unique_ptr<alloc_device_t> alloc;
146 static int gralloc0_alloc(alloc_device_t *dev, int w, int h, int format, int usage, in gralloc0_alloc()
201 static int gralloc0_free(alloc_device_t *dev, buffer_handle_t handle) in gralloc0_free()
227 mod->alloc = std::make_unique<alloc_device_t>(); in gralloc0_init()
/external/minigbm/cros_gralloc/gralloc0/tests/
Dgralloctest.c62 struct alloc_device_t *device;
161 static int allocate(struct alloc_device_t *device, struct grallocinfo *info) in allocate()
177 static int deallocate(struct alloc_device_t *device, struct grallocinfo *info) in deallocate()