TimJTi commented on PR #12733: URL: https://github.com/apache/nuttx/pull/12733#issuecomment-2241103501
Perhaps the answer is `lv_disp_flush_is_last(&disp_drv)` ? That - I think - can be used to not flush until rendering is finished...I just came across this in the porting guide (which until now I hadn't expected to need to read!) _flush_cb a callback function to copy a buffer's content to a specific area of the display. lv_disp_flush_ready(&disp_drv) needs to be called when flushing is ready. LVGL might render the screen in multiple chunks and therefore call flush_cb multiple times. To see if the current one is the last chunk of rendering use lv_disp_flush_is_last(&disp_drv)._ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
