_stage module contains native code to speed-up the
render(x0, y0, x1, y1, layers, buffer, spi)¶
Render and send to the display a fragment of the screen.
Note that this function only sends the raw pixel data. Setting up the display for receiving it and handling the chip-select and data-command pins has to be done outside of it. There are also no sanity checks, outside of the basic overflow checking. The caller is responsible for making the passed parameters valid.
This function is intended for internal use in the
stagelibrary and all the necessary checks are performed there.