Lines Matching refs:aBuffer
34 typedef struct ANativeWindowBuffer aBuffer; typedef
50 aBuffer base;
66 aBuffer *front;
67 aBuffer *spare;
83 static inline CNativeBuffer *from_abuffer(aBuffer *buf) { in from_abuffer()
97 static void put_front(struct CNativeBuffer *queue, aBuffer *_buf) { in put_front()
105 static void put_back(struct CNativeBuffer *queue, aBuffer *_buf) { in put_back()
131 static int cnw_dequeue_buffer1(aWindow *base, aBuffer **buf, int *ffd) { in cnw_dequeue_buffer1()
150 static int cnw_lock_buffer0(aWindow *base, aBuffer *buffer) { in cnw_lock_buffer0()
154 static void set_layer(hwc_layer_1_t *dl, aBuffer *buf, int ffd) { in set_layer()
180 static void hwc_post(CNativeWindow *win, aBuffer *buf, int ffd) { in hwc_post()
230 static int cnw_queue_buffer1(aWindow *base, aBuffer *buffer, int ffd) { in cnw_queue_buffer1()
252 static int cnw_cancel_buffer1(aWindow *base, aBuffer *buf, int ffd) { in cnw_cancel_buffer1()
263 static int cnw_dequeue_buffer0(aWindow *base, aBuffer **buf) { in cnw_dequeue_buffer0()
272 static int cnw_queue_buffer0(aWindow *base, aBuffer *buf) { in cnw_queue_buffer0()
276 static int cnw_cancel_buffer0(aWindow *base, aBuffer *buf) { in cnw_cancel_buffer0()
428 static aBuffer *cnw_alloc(CNativeWindow *win, unsigned format, unsigned usage) { in cnw_alloc()
430 aBuffer *buf; in cnw_alloc()
440 buf->common.version = sizeof(aBuffer); in cnw_alloc()
508 aBuffer *buf = cnw_alloc(win, win->format, usage); in cnw_init()