Lines Matching refs:CNativeWindow
56 typedef struct CNativeWindow { struct
81 } CNativeWindow; argument
116 static inline CNativeWindow *from_base(aWindow *base) { in from_base()
117 return (CNativeWindow *) base; in from_base()
120 static inline CNativeWindow *from_base_const(const aWindow *base) { in from_base_const()
121 return (CNativeWindow *) base; in from_base_const()
125 CNativeWindow *win = from_base(base); in cnw_set_swap_interval()
132 CNativeWindow *win = from_base(base); in cnw_dequeue_buffer1()
180 static void hwc_post(CNativeWindow *win, aBuffer *buf, int ffd) { in hwc_post()
231 CNativeWindow *win = from_base(base); in cnw_queue_buffer1()
253 CNativeWindow *win = from_base(base); in cnw_cancel_buffer1()
281 CNativeWindow *win = from_base_const(base); in cnw_query()
314 CNativeWindow *win = from_base(base); in cnw_perform()
374 static int hwc_init(CNativeWindow *win) { in hwc_init()
428 static aBuffer *cnw_alloc(CNativeWindow *win, unsigned format, unsigned usage) { in cnw_alloc()
461 static int cnw_init(CNativeWindow *win) { in cnw_init()
468 memset(win, 0, sizeof(CNativeWindow)); in cnw_init()
549 void cnw_destroy(CNativeWindow *win) { in cnw_destroy()
559 CNativeWindow *cnw_create(void) { in cnw_create()
560 CNativeWindow *win; in cnw_create()
564 if (!(win = malloc(sizeof(CNativeWindow)))) in cnw_create()
573 void cnw_info(CNativeWindow *win, unsigned *w, unsigned *h, unsigned *fmt) { in cnw_info()