Home
last modified time | relevance | path

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

12

/hardware/libhardware/include/hardware/
Dgralloc.h325 typedef struct alloc_device_t { struct
342 int (*alloc)(struct alloc_device_t* dev, argument
356 int (*free)(struct alloc_device_t* dev, argument
363 void (*dump)(struct alloc_device_t *dev, char *buff, int buff_len); argument
366 } alloc_device_t; typedef
372 struct alloc_device_t** device) { in gralloc_open()
377 static inline int gralloc_close(struct alloc_device_t* device) { in gralloc_close()
/hardware/qcom/display/msm8226/libgralloc/
Dgpu.h33 class gpu_context_t : public alloc_device_t {
49 static int gralloc_alloc(alloc_device_t* dev, int w, int h,
59 static int gralloc_free(alloc_device_t* dev, buffer_handle_t handle);
61 static int gralloc_alloc_size(alloc_device_t* dev,
Dgpu.cpp39 memset(static_cast<alloc_device_t*>(this), 0, sizeof(alloc_device_t)); in gpu_context_t()
355 int gpu_context_t::gralloc_alloc(alloc_device_t* dev, int w, int h, int format, in gralloc_alloc()
365 int gpu_context_t::gralloc_alloc_size(alloc_device_t* dev, int w, int h, in gralloc_alloc_size()
378 int gpu_context_t::gralloc_free(alloc_device_t* dev, in gralloc_free()
/hardware/qcom/display/msm8994/libgralloc/
Dgpu.h33 class gpu_context_t : public alloc_device_t {
49 static int gralloc_alloc(alloc_device_t* dev, int w, int h,
59 static int gralloc_free(alloc_device_t* dev, buffer_handle_t handle);
61 static int gralloc_alloc_size(alloc_device_t* dev,
Dgpu.cpp47 memset(static_cast<alloc_device_t*>(this), 0, sizeof(alloc_device_t)); in gpu_context_t()
382 int gpu_context_t::gralloc_alloc(alloc_device_t* dev, int w, int h, int format, in gralloc_alloc()
392 int gpu_context_t::gralloc_alloc_size(alloc_device_t* dev, int w, int h, in gralloc_alloc_size()
405 int gpu_context_t::gralloc_free(alloc_device_t* dev, in gralloc_free()
/hardware/qcom/display/msm8909/libgralloc/
Dgpu.h33 class gpu_context_t : public alloc_device_t {
49 static int gralloc_alloc(alloc_device_t* dev, int w, int h,
59 static int gralloc_free(alloc_device_t* dev, buffer_handle_t handle);
61 static int gralloc_alloc_size(alloc_device_t* dev,
Dgpu.cpp39 memset(static_cast<alloc_device_t*>(this), 0, sizeof(alloc_device_t)); in gpu_context_t()
376 int gpu_context_t::gralloc_alloc(alloc_device_t* dev, int w, int h, int format, in gralloc_alloc()
386 int gpu_context_t::gralloc_alloc_size(alloc_device_t* dev, int w, int h, in gralloc_alloc_size()
399 int gpu_context_t::gralloc_free(alloc_device_t* dev, in gralloc_free()
/hardware/qcom/display/msm8909w_3100/libgralloc/
Dgpu.h33 class gpu_context_t : public alloc_device_t {
49 static int gralloc_alloc(alloc_device_t* dev, int w, int h,
59 static int gralloc_free(alloc_device_t* dev, buffer_handle_t handle);
61 static int gralloc_alloc_size(alloc_device_t* dev,
Dgpu.cpp39 memset(static_cast<alloc_device_t*>(this), 0, sizeof(alloc_device_t)); in gpu_context_t()
376 int gpu_context_t::gralloc_alloc(alloc_device_t* dev, int w, int h, int format, in gralloc_alloc()
386 int gpu_context_t::gralloc_alloc_size(alloc_device_t* dev, int w, int h, in gralloc_alloc_size()
399 int gpu_context_t::gralloc_free(alloc_device_t* dev, in gralloc_free()
/hardware/qcom/display/msm8996/libgralloc/
Dgpu.h33 class gpu_context_t : public alloc_device_t {
49 static int gralloc_alloc(alloc_device_t* dev, int w, int h,
59 static int gralloc_free(alloc_device_t* dev, buffer_handle_t handle);
61 static int gralloc_alloc_size(alloc_device_t* dev,
Dgpu.cpp46 memset(static_cast<alloc_device_t*>(this), 0, sizeof(alloc_device_t)); in gpu_context_t()
377 int gpu_context_t::gralloc_alloc(alloc_device_t* dev, int w, int h, int format, in gralloc_alloc()
387 int gpu_context_t::gralloc_alloc_size(alloc_device_t* dev, int w, int h, in gralloc_alloc_size()
400 int gpu_context_t::gralloc_free(alloc_device_t* dev, in gralloc_free()
/hardware/qcom/display/msm8084/libgralloc/
Dgpu.h33 class gpu_context_t : public alloc_device_t {
49 static int gralloc_alloc(alloc_device_t* dev, int w, int h,
59 static int gralloc_free(alloc_device_t* dev, buffer_handle_t handle);
61 static int gralloc_alloc_size(alloc_device_t* dev,
Dgpu.cpp40 memset(static_cast<alloc_device_t*>(this), 0, sizeof(alloc_device_t)); in gpu_context_t()
352 int gpu_context_t::gralloc_alloc(alloc_device_t* dev, int w, int h, int format, in gralloc_alloc()
362 int gpu_context_t::gralloc_alloc_size(alloc_device_t* dev, int w, int h, in gralloc_alloc_size()
375 int gpu_context_t::gralloc_free(alloc_device_t* dev, in gralloc_free()
/hardware/qcom/display/msm8960/libgralloc/
Dgpu.h34 class gpu_context_t : public alloc_device_t {
50 static int gralloc_alloc(alloc_device_t* dev, int w, int h,
60 static int gralloc_free(alloc_device_t* dev, buffer_handle_t handle);
62 static int gralloc_alloc_size(alloc_device_t* dev,
Dgpu.cpp40 memset(static_cast<alloc_device_t*>(this), 0, sizeof(alloc_device_t)); in gpu_context_t()
339 int gpu_context_t::gralloc_alloc(alloc_device_t* dev, int w, int h, int format, in gralloc_alloc()
349 int gpu_context_t::gralloc_alloc_size(alloc_device_t* dev, int w, int h, in gralloc_alloc_size()
362 int gpu_context_t::gralloc_free(alloc_device_t* dev, in gralloc_free()
/hardware/libhardware/modules/gralloc/
Dgralloc.cpp42 alloc_device_t device;
46 static int gralloc_alloc_buffer(alloc_device_t* dev,
103 static int gralloc_alloc_framebuffer_locked(alloc_device_t* dev, in gralloc_alloc_framebuffer_locked()
156 static int gralloc_alloc_framebuffer(alloc_device_t* dev, in gralloc_alloc_framebuffer()
167 static int gralloc_alloc_buffer(alloc_device_t* dev, in gralloc_alloc_buffer()
203 static int gralloc_alloc(alloc_device_t* dev, in gralloc_alloc()
252 static int gralloc_free(alloc_device_t* dev, in gralloc_free()
/hardware/intel/img/hwcomposer/merrifield/include/pvr/hal/
Dhal_public.h77 return gralloc_open(m, (alloc_device_t **)d); in gralloc_open_img()
85 return gralloc_close((alloc_device_t *)d); in gralloc_close_img()
115 return gralloc0_device_alloc_img((alloc_device_t *)d, w, h, format, in gralloc_device_alloc_img()
125 return gralloc0_device_free_img((alloc_device_t *)d, handle); in gralloc_device_free_img()
Dimg_gralloc.h45 (alloc_device_t *d, int w, int h, int format, int usage, in gralloc0_device_alloc_img()
52 (alloc_device_t *d, buffer_handle_t handle) in gralloc0_device_free_img()
/hardware/intel/img/hwcomposer/moorefield_hdmi/include/pvr/hal/
Dhal_public.h77 return gralloc_open(m, (alloc_device_t **)d); in gralloc_open_img()
85 return gralloc_close((alloc_device_t *)d); in gralloc_close_img()
115 return gralloc0_device_alloc_img((alloc_device_t *)d, w, h, format, in gralloc_device_alloc_img()
125 return gralloc0_device_free_img((alloc_device_t *)d, handle); in gralloc_device_free_img()
Dimg_gralloc.h45 (alloc_device_t *d, int w, int h, int format, int usage, in gralloc0_device_alloc_img()
52 (alloc_device_t *d, buffer_handle_t handle) in gralloc0_device_free_img()
/hardware/libhardware/tests/hardware/
Dstruct-offset.cpp190 CHECK_MEMBER_AT(alloc_device_t, common, 0, 0); in CheckOffsets()
191 CHECK_MEMBER_AT(alloc_device_t, alloc, 64, 120); in CheckOffsets()
192 CHECK_MEMBER_AT(alloc_device_t, free, 68, 128); in CheckOffsets()
193 CHECK_MEMBER_AT(alloc_device_t, dump, 72, 136); in CheckOffsets()
194 CHECK_MEMBER_AT(alloc_device_t, reserved_proc, 76, 144); in CheckOffsets()
Dstruct-size.cpp63 CheckTypeSize<alloc_device_t, 104, 200>(); in CheckSizes()
Dstruct-last.cpp56 CHECK_LAST_MEMBER(alloc_device_t, reserved_proc); in CheckSizes()
/hardware/intel/img/hwcomposer/moorefield_hdmi/include/
DBufferManager.h75 alloc_device_t *mAllocDev;
/hardware/intel/img/hwcomposer/merrifield/include/
DBufferManager.h75 alloc_device_t *mAllocDev;

12