-
Hi |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
It can be safe. It depends on the Method used and the hardware used. BitBang method it will never be safe. Most hardware supported methods (ESP32 I2s and RMT, ESP8266 DMA, etc) it will be safe. AVR and ARM platforms it is not safe as they are just bitbang. For the hardware methods: |
Beta Was this translation helpful? Give feedback.
It can be safe. It depends on the Method used and the hardware used. BitBang method it will never be safe. Most hardware supported methods (ESP32 I2s and RMT, ESP8266 DMA, etc) it will be safe. AVR and ARM platforms it is not safe as they are just bitbang.
For the hardware methods:
If you never call
GetPixel()
then it is recommended that you passmaintainBufferConsistency = false
.Internally, this option controls a buffer copy required to keep the internal double buffering consistent. Waisted work if you never "view" the buffer.
The internal double buffering is what allows you to start updating the next "frame" while the current "frame" is being set. Further, this double buffering is requ…