/* Check the driver configuration if it's TRUE double buffered (both  */
bool lv_disp_is_true_double_buf(lv_disp_t *disp)
/* Check the driver configuration if it's TRUE double buffered (both  */
bool lv_disp_is_true_double_buf(lv_disp_t *disp)
{
    uint32_t scr_size = disp->driver.hor_res * disp->driver.ver_res;
    if(lv_disp_is_double_buf(disp) && disp->driver.buffer->size == scr_size) {
        return true;
    } else {
        return false;
    }
}