Skip to main content
bxiao
Visitor II
April 18, 2020
Solved

What is OSWrappers::takeFrameBufferSemaphore used for?

  • April 18, 2020
  • 1 reply
  • 857 views

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?

This topic has been closed for replies.
Best answer by Martin KJELDSEN

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

1 reply

Martin KJELDSEN
Martin KJELDSENBest answer
Principal III
April 20, 2020

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