HUB75 cleanup, double buffer improvement

* code cleanup, removing some unneeded sanity checks
* use dirty bits in double buffer mode, too -> only not-black pixels are drawn into the back-buffer (20%-30% faster)
This commit is contained in:
Frank
2024-08-09 17:46:14 +02:00
parent a44aa92c75
commit 2934739ebf
2 changed files with 21 additions and 19 deletions

View File

@@ -389,7 +389,6 @@ class BusHub75Matrix : public Bus {
MatrixPanel_I2S_DMA *display = nullptr;
VirtualMatrixPanel *fourScanPanel = nullptr;
HUB75_I2S_CFG mxconfig;
bool isBlack = false;
CRGB *_ledBuffer = nullptr;
byte *_ledsDirty = nullptr;
};