Home
last modified time | relevance | path

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

12

/hardware/libhardware/include/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()
/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()
Dframebuffer.cpp384 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,
Dframebuffer.cpp385 alloc_device_t* gralloc_device; in fb_device_open()
/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()
Dframebuffer.cpp408 alloc_device_t* gralloc_device; in fb_device_open()
/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/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()
Dframebuffer.cpp408 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.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/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.cpp361 alloc_device_t* gralloc_device; in fb_device_open()
/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/libhardware/tests/hardware/
Dstruct-offset.cpp192 CHECK_MEMBER_AT(alloc_device_t, common, 0, 0); in CheckOffsets()
193 CHECK_MEMBER_AT(alloc_device_t, alloc, 64, 120); in CheckOffsets()
194 CHECK_MEMBER_AT(alloc_device_t, free, 68, 128); in CheckOffsets()
195 CHECK_MEMBER_AT(alloc_device_t, dump, 72, 136); in CheckOffsets()
196 CHECK_MEMBER_AT(alloc_device_t, reserved_proc, 76, 144); in CheckOffsets()
Dstruct-last.cpp56 CHECK_LAST_MEMBER(alloc_device_t, reserved_proc); in CheckSizes()
/hardware/interfaces/graphics/allocator/2.0/utils/passthrough/include/allocator-passthrough/2.0/
DGralloc0Hal.h149 alloc_device_t* mDevice = nullptr;
/hardware/interfaces/graphics/allocator/2.0/utils/gralloc1-adapter/
DGralloc1On0Adapter.h31 struct alloc_device_t;
441 alloc_device_t* mDevice;
/hardware/libhardware/tests/hwc/
Dcnativewindow.c61 alloc_device_t *gr;
464 alloc_device_t *gr; in cnw_init()

12