diff --git a/src/hal/lv_hal_disp.c b/src/hal/lv_hal_disp.c index c4bdebca0..f2b39920b 100644 --- a/src/hal/lv_hal_disp.c +++ b/src/hal/lv_hal_disp.c @@ -360,28 +360,6 @@ lv_disp_draw_buf_t * lv_disp_get_draw_buf(lv_disp_t * disp) return disp->driver->draw_buf; } -/** - * Get the number of areas in the buffer - * @return number of invalid areas - */ -uint16_t lv_disp_get_inv_buf_size(lv_disp_t * disp) -{ - return disp->inv_p; -} - -/** - * Pop (delete) the last 'num' invalidated areas from the buffer - * @param num number of areas to delete - */ -void _lv_disp_pop_from_inv_buf(lv_disp_t * disp, uint16_t num) -{ - - if(disp->inv_p < num) - disp->inv_p = 0; - else - disp->inv_p -= num; -} - /** * Set the rotation of this display. * @param disp pointer to a display (NULL to use the default display) diff --git a/src/hal/lv_hal_disp.h b/src/hal/lv_hal_disp.h index 2e76be23d..fbeb93b9d 100644 --- a/src/hal/lv_hal_disp.h +++ b/src/hal/lv_hal_disp.h @@ -313,25 +313,6 @@ lv_disp_t * lv_disp_get_next(lv_disp_t * disp); */ lv_disp_draw_buf_t * lv_disp_get_draw_buf(lv_disp_t * disp); -/** - * Get the number of areas in the buffer - * @return number of invalid areas - */ -uint16_t lv_disp_get_inv_buf_size(lv_disp_t * disp); - -/** - * Pop (delete) the last 'num' invalidated areas from the buffer - * @param num number of areas to delete - */ -void _lv_disp_pop_from_inv_buf(lv_disp_t * disp, uint16_t num); - -/** - * Check the driver configuration if it's double buffered (both `buf1` and `buf2` are set) - * @param disp pointer to to display to check - * @return true: double buffered; false: not double buffered - */ -bool lv_disp_is_double_buf(lv_disp_t * disp); - /********************** * MACROS **********************/