Lines Matching refs:draw_buf

330         if(disp_refr->driver->direct_mode && disp_refr->driver->draw_buf->buf2) {  in _lv_disp_refr_timer()
519 if(disp_refr->driver->draw_buf->buf2 == NULL) return; in refr_sync_areas()
526 void * buf_off_screen = disp_refr->driver->draw_buf->buf_act; in refr_sync_areas()
527 void * buf_on_screen = disp_refr->driver->draw_buf->buf_act == disp_refr->driver->draw_buf->buf1 in refr_sync_areas()
528 ? disp_refr->driver->draw_buf->buf2 in refr_sync_areas()
529 : disp_refr->driver->draw_buf->buf1; in refr_sync_areas()
606 disp_refr->driver->draw_buf->last_area = 0; in refr_invalid_areas()
607 disp_refr->driver->draw_buf->last_part = 0; in refr_invalid_areas()
614 if(i == last_i) disp_refr->driver->draw_buf->last_area = 1; in refr_invalid_areas()
615 disp_refr->driver->draw_buf->last_part = 0; in refr_invalid_areas()
632 draw_ctx->buf = disp_refr->driver->draw_buf->buf_act; in refr_area()
642 disp_refr->driver->draw_buf->last_part = 1; in refr_area()
647 disp_refr->driver->draw_buf->last_part = disp_refr->driver->draw_buf->last_area; in refr_area()
674 draw_ctx->buf = disp_refr->driver->draw_buf->buf_act; in refr_area()
677 if(y2 == row_last) disp_refr->driver->draw_buf->last_part = 1; in refr_area()
690 draw_ctx->buf = disp_refr->driver->draw_buf->buf_act; in refr_area()
691 disp_refr->driver->draw_buf->last_part = 1; in refr_area()
698 lv_disp_draw_buf_t * draw_buf = lv_disp_get_draw_buf(disp_refr); in refr_area_part() local
706 …bool full_sized = draw_buf->size == (uint32_t)disp_refr->driver->hor_res * disp_refr->driver->ver_… in refr_area_part()
707 if((draw_buf->buf1 && !draw_buf->buf2) || in refr_area_part()
708 (draw_buf->buf1 && draw_buf->buf2 && full_sized)) { in refr_area_part()
709 while(draw_buf->flushing) { in refr_area_part()
717 …iver->clear_cb(disp_refr->driver, disp_refr->driver->draw_buf->buf_act, disp_refr->driver->draw_bu… in refr_area_part()
720 …lv_memset_00(disp_refr->driver->draw_buf->buf_act, disp_refr->driver->draw_buf->size * LV_IMG_PX_S… in refr_area_part()
1051 int32_t max_row = (uint32_t)disp->driver->draw_buf->size / area_w; in get_max_row()
1192 lv_disp_draw_buf_t * draw_buf = lv_disp_get_draw_buf(disp_refr); in draw_buf_rotate() local
1212 draw_buf->flushing = 1; in draw_buf_rotate()
1243 if(row + height >= area_h && draw_buf->last_area && draw_buf->last_part) { in draw_buf_rotate()
1244 draw_buf->flushing_last = 1; in draw_buf_rotate()
1247 draw_buf->flushing_last = 0; in draw_buf_rotate()
1253 while(draw_buf->flushing) { in draw_buf_rotate()
1269 lv_disp_draw_buf_t * draw_buf = lv_disp_get_draw_buf(disp_refr); in draw_buf_flush() local
1277 …bool full_sized = draw_buf->size == (uint32_t)disp_refr->driver->hor_res * disp_refr->driver->ver_… in draw_buf_flush()
1278 if(draw_buf->buf1 && draw_buf->buf2 && !full_sized) { in draw_buf_flush()
1279 while(draw_buf->flushing) { in draw_buf_flush()
1284 draw_buf->flushing = 1; in draw_buf_flush()
1286 …if(disp_refr->driver->draw_buf->last_area && disp_refr->driver->draw_buf->last_part) draw_buf->flu… in draw_buf_flush()
1287 else draw_buf->flushing_last = 0; in draw_buf_flush()
1289 bool flushing_last = draw_buf->flushing_last; in draw_buf_flush()
1302 if(draw_buf->buf1 && draw_buf->buf2 && (!disp->driver->direct_mode || flushing_last)) { in draw_buf_flush()
1303 if(draw_buf->buf_act == draw_buf->buf1) in draw_buf_flush()
1304 draw_buf->buf_act = draw_buf->buf2; in draw_buf_flush()
1306 draw_buf->buf_act = draw_buf->buf1; in draw_buf_flush()