‎2020-04-17 09:20 PM
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?
Solved! Go to Solution.
‎2020-04-20 12:30 AM
You're partly correct.
But it would be a bad idea to remove =) It's TouchGFX HALs way of waiting for DMA2D to be finished with the framebuffer. Your project would not link correctly without the method.
/Martin
‎2020-04-20 12:30 AM
You're partly correct.
But it would be a bad idea to remove =) It's TouchGFX HALs way of waiting for DMA2D to be finished with the framebuffer. Your project would not link correctly without the method.
/Martin