Solved
What is OSWrappers::takeFrameBufferSemaphore used for?
In my opinion, the framebuffer lock is used to prevent the mutual exclusion of the framebuffer, but touchgfx itself runs in a single task, so is this lock used to prevent the simultaneous access of touchgfx software rendering and dma2d rendering? There are some problems in using this lock on my project. Can I remove this lock?
