cancel
Showing results for 
Search instead for 
Did you mean: 

What is OSWrappers::takeFrameBufferSemaphore used for?

bxiao
Associate

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?

1 ACCEPTED SOLUTION

Accepted Solutions
Martin KJELDSEN
Chief III

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

View solution in original post

1 REPLY 1
Martin KJELDSEN
Chief III

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