Home
last modified time | relevance | path

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

12

/hardware/libhardware/include/hardware/
Dgralloc.h326 typedef struct alloc_device_t { struct
343 int (*alloc)(struct alloc_device_t* dev, argument
357 int (*free)(struct alloc_device_t* dev, argument
364 void (*dump)(struct alloc_device_t *dev, char *buff, int buff_len); argument
367 } alloc_device_t; argument
373 struct alloc_device_t** device) { in gralloc_open()
378 static inline int gralloc_close(struct alloc_device_t* device) { in gralloc_close()
/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()
368 int gpu_context_t::gralloc_alloc(alloc_device_t* dev, int w, int h, int format, in gralloc_alloc()
378 int gpu_context_t::gralloc_alloc_size(alloc_device_t* dev, int w, int h, in gralloc_alloc_size()
391 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.cpp38 memset(static_cast<alloc_device_t*>(this), 0, sizeof(alloc_device_t)); in gpu_context_t()
368 int gpu_context_t::gralloc_alloc(alloc_device_t* dev, int w, int h, int format, in gralloc_alloc()
378 int gpu_context_t::gralloc_alloc_size(alloc_device_t* dev, int w, int h, in gralloc_alloc_size()
391 int gpu_context_t::gralloc_free(alloc_device_t* dev, in gralloc_free()
Dframebuffer.cpp404 alloc_device_t* gralloc_device; in fb_device_open()
/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()
Dframebuffer.cpp383 alloc_device_t* gralloc_device; in fb_device_open()
/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()
351 int gpu_context_t::gralloc_alloc(alloc_device_t* dev, int w, int h, int format, in gralloc_alloc()
361 int gpu_context_t::gralloc_alloc_size(alloc_device_t* dev, int w, int h, in gralloc_alloc_size()
374 int gpu_context_t::gralloc_free(alloc_device_t* dev, in gralloc_free()
Dframebuffer.cpp382 alloc_device_t* gralloc_device; in fb_device_open()
/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.cpp39 memset(static_cast<alloc_device_t*>(this), 0, sizeof(alloc_device_t)); in gpu_context_t()
369 int gpu_context_t::gralloc_alloc(alloc_device_t* dev, int w, int h, int format, in gralloc_alloc()
379 int gpu_context_t::gralloc_alloc_size(alloc_device_t* dev, int w, int h, in gralloc_alloc_size()
392 int gpu_context_t::gralloc_free(alloc_device_t* dev, in gralloc_free()
Dframebuffer.cpp412 alloc_device_t* gralloc_device; in fb_device_open()
/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()
Dframebuffer.cpp359 alloc_device_t* gralloc_device; in fb_device_open()
/hardware/libhardware/modules/gralloc/
Dgralloc.cpp43 alloc_device_t device;
47 static int gralloc_alloc_buffer(alloc_device_t* dev,
104 static int gralloc_alloc_framebuffer_locked(alloc_device_t* dev, in gralloc_alloc_framebuffer_locked()
157 static int gralloc_alloc_framebuffer(alloc_device_t* dev, in gralloc_alloc_framebuffer()
168 static int gralloc_alloc_buffer(alloc_device_t* dev, in gralloc_alloc_buffer()
204 static int gralloc_alloc(alloc_device_t* dev, in gralloc_alloc()
250 static int gralloc_free(alloc_device_t* dev, in gralloc_free()
/hardware/libhardware/tests/hardware/
Dstruct-offset.cpp189 CHECK_MEMBER_AT(alloc_device_t, common, 0, 0); in CheckOffsets()
190 CHECK_MEMBER_AT(alloc_device_t, alloc, 64, 120); in CheckOffsets()
191 CHECK_MEMBER_AT(alloc_device_t, free, 68, 128); in CheckOffsets()
192 CHECK_MEMBER_AT(alloc_device_t, dump, 72, 136); in CheckOffsets()
193 CHECK_MEMBER_AT(alloc_device_t, reserved_proc, 76, 144); in CheckOffsets()
Dstruct-size.cpp64 CheckTypeSize<alloc_device_t, 104, 200>(); in CheckSizes()
Dstruct-last.cpp57 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;
/hardware/libhardware/tests/hwc/
Dcnativewindow.c61 alloc_device_t *gr;
464 alloc_device_t *gr; in cnw_init()

12