touchgfx::HAL::lockDMAToFrontPorch() method
@fn void HAL::lockDMAToFrontPorch(bool enableLock) Function to set whether the DMA transfers are locked to the TFT update cycle. Function to set whether the DMA transfers are locked to the TFT update cycle. If locked, DMA transfer will not begin until the TFT controller has finished updating the display. If not locked, DMA transfers will begin as soon as possible. Default is true (DMA is locked with TFT). Disabling the lock will in most cases significantly increase rendering performance. It is therefore strongly recommended to disable it. Depending on platform this may in rare cases cause rendering problems (visible tearing on display). Please see the chapter "Optimizing DMA During TFT Controller Access" for details on this setting.
Arguments
enableLock
True to lock DMA transfers to the front porch signal. Conservative, default setting. False to disable, which will normally yield substantial performance improvement.
Notes
This setting only has effect when using double buffering.
Examples
touchgfx::HAL::lockDMAToFrontPorch() is referenced by
4 libraries and example projects.
Data read by touchgfx::HAL::lockDMAToFrontPorch()
Data written by touchgfx::HAL::lockDMAToFrontPorch()
touchgfx::HAL::lockDMAToFrontPorch()