source/SweetValentine/Renderer.cpp
// method to initiate memory forwarding to the DMA controller....
// these operations are also defined in:
// Gamebuino-META/src/utility/Display-ST7735/Display-ST7735.cpp
method to initiate memory forwarding to the DMA controller
these operations are also defined in:
Gamebuino-META/src/utility/Display-ST7735/Display-ST7735.cpp
method to initiate memory forwarding to the DMA controller these operations are also defined in : Gamebuino - META / src / utility / Display - ST7735 / Display - ST7735 . cpp
void Renderer::customDrawBuffer(int16_t x, int16_t y, uint16_t* buffer, uint16_t w, uint16_t h) {
  drawPending = true;
  gb.tft.setAddrWindow(x, y, x + w - 1, y + h - 1);
  SPI.beginTransaction(Gamebuino_Meta::tftSPISettings);
  gb.tft.dataMode();
  gb.tft.sendBuffer(buffer, w*h);
}
void Renderer :: customDrawBuffer ( int16_t x , int16_t y , uint16_t * buffer , uint16_t w , uint16_t h ) { drawPending = true ; gb . tft . setAddrWindow ( x , y , x + w - 1 , y + h - 1 ) ; SPI . beginTransaction ( Gamebuino_Meta :: tftSPISettings ) ; gb . tft . dataMode ( ) ; gb . tft . sendBuffer ( buffer , w * h ) ; }
method to initiate memory forwarding to the DMA controller....
these operations are also defined in:
Gamebuino-META/src/utility/Display-ST7735/Display-ST7735.cpp
method to initiate memory forwarding to the DMA controller .... these operations are also defined in : Gamebuino - META / src / utility / Display - ST7735 / Display - ST7735 . cpp