Applay striped buffer approach to save memory
This commit is contained in:
@@ -55,6 +55,12 @@ class HalDisplay {
|
||||
|
||||
void displayGrayBuffer(bool turnOffScreen = false);
|
||||
|
||||
// Tiled grayscale: stream one band of a plane (lsbPlane selects LSB/MSB RAM)
|
||||
// straight to the controller; supportsStripGrayscale() gates the path. See
|
||||
// EInkDisplay::writeGrayscalePlaneStrip.
|
||||
void writeGrayscalePlaneStrip(bool lsbPlane, const uint8_t* rows, uint16_t yStart, uint16_t numRows);
|
||||
bool supportsStripGrayscale() const;
|
||||
|
||||
// Runtime geometry passthrough
|
||||
uint16_t getDisplayWidth() const;
|
||||
uint16_t getDisplayHeight() const;
|
||||
|
||||
Reference in New Issue
Block a user