You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried it, and it gets stuck in lv_timer_handler when the display has input events or animations are running.
The reason I don't use callbacks is simply to keep the code simple and intuitive enough. If this is not feasible, it doesn't matter. I just want to explore some possibilities. Thank you guys so much.
BTW, can lv_indev also be achieved through non-callback methods? I didn't find the relevant API.
Proposal
No response
The text was updated successfully, but these errors were encountered:
M1NGS
changed the title
Is it possible to access the drawing buffer directly without using lv_display_set_flush_cb?
Is it possible to access the draw buffer directly without using lv_display_set_flush_cb?
Nov 15, 2024
@kisvegabor Can I create this pull request to implement flushing display buffer without callback?
diff--gita/src/core/lv_refr.cb/src/core/lv_refr.cindex33aed28aa..86a2976b6100644---a/src/core/lv_refr.c+++b/src/core/lv_refr.c
@@ -1260,6+1260,9 @@ staticvoiddraw_buf_flush(lv_display_t*disp)
if(disp->flush_cb) {
call_flush_cb(disp, &disp->refreshed_area, layer->draw_buf->data);
}
+else {
+lv_display_flush_ready(disp);
+ }
/*If there are 2 buffers swap them. With direct mode swap only on the last area*/if(lv_display_is_double_buffered(disp) && (disp->render_mode!=LV_DISPLAY_RENDER_MODE_DIRECT||flushing_last)) {
if(disp->buf_act==disp->buf_1) {
Introduce the problem
LVGL 9.3.0(master)
such as
I tried it, and it gets stuck in lv_timer_handler when the display has input events or animations are running.
The reason I don't use callbacks is simply to keep the code simple and intuitive enough. If this is not feasible, it doesn't matter. I just want to explore some possibilities. Thank you guys so much.
BTW, can lv_indev also be achieved through non-callback methods? I didn't find the relevant API.
Proposal
No response
The text was updated successfully, but these errors were encountered: