Lines Matching refs:disp_drv
72 1. initialized with `lv_disp_drv_init(&disp_drv)`
74 3. it needs to be registered in LVGL with `lv_disp_drv_register(&disp_drv)`
84 `lv_disp_flush_ready(&disp_drv)` needs to be called when flushing is ready.
85 …s. To see if the current one is the last chunk of rendering use `lv_disp_flush_is_last(&disp_drv)`.
117 static lv_disp_drv_t disp_drv; /*A variable to hold the drivers. Must be static or global.…
118 lv_disp_drv_init(&disp_drv); /*Basic initialization*/
119 disp_drv.draw_buf = &disp_buf; /*Set an initialized buffer*/
120 disp_drv.flush_cb = my_flush_cb; /*Set a flush callback to draw to the display*/
121 disp_drv.hor_res = 320; /*Set the horizontal resolution in pixels*/
122 disp_drv.ver_res = 240; /*Set the vertical resolution in pixels*/
125 disp = lv_disp_drv_register(&disp_drv); /*Register the driver and save the created display objects*/
130 void my_flush_cb(lv_disp_drv_t * disp_drv, const lv_area_t * area, lv_color_t * color_p)
144 lv_disp_flush_ready(disp_drv);
147 void my_gpu_fill_cb(lv_disp_drv_t * disp_drv, lv_color_t * dest_buf, const lv_area_t * dest_area, c…
162 void my_rounder_cb(lv_disp_drv_t * disp_drv, lv_area_t * area)
170 void my_set_px_cb(lv_disp_drv_t * disp_drv, uint8_t * buf, lv_coord_t buf_w, lv_coord_t x, lv_coord…
179 void my_monitor_cb(lv_disp_drv_t * disp_drv, uint32_t time, uint32_t px)
184 void my_clean_dcache_cb(lv_disp_drv_t * disp_drv, uint32)