circuitpython/supervisor
Scott Shawcroft eb21fc3e31
Add partial display update support.
Different operations to the display tree have different costs. Be
aware of these costs when optimizing your code.
* Changing tiles indices in a TileGrid will update an area
covering them all.
* Changing a palette will refresh every object that references it.
* Moving a TileGrid will update both where it was and where it moved to.
* Adding something to a Group will refresh each individual area it
covers.
* Removing things from a Group will refresh one area that covers all
previous locations. (Not separate areas like add.)
* Setting a new top level Group will refresh the entire display.

Only TileGrid moves are optimized for overlap. All other overlaps
cause sending of duplicate pixels.

This also adds flip_x, flip_y and transpose_xy to TileGrid. They
change the direction of the pixels but not the location.

Fixes #1169. Fixes #1705. Fixes #1923.
2019-06-12 11:32:39 -07:00
..
messages Support internationalisation. 2018-08-07 14:58:57 -07:00
shared Add partial display update support. 2019-06-12 11:32:39 -07:00
stub Stub out safe mode for mpy-cross 2019-03-12 11:18:30 -07:00
cpu.h Mark pointers in cpu registers as in use. 2018-07-03 05:45:50 -07:00
filesystem.h flush flash filesystem once a second 2019-03-20 12:21:36 -04:00
flash.h Rework flash flush so it preserves the cache 2019-04-03 18:28:27 -07:00
flash_root_pointers.h Move atmel-samd to tinyusb and support nRF flash. 2018-11-08 17:25:30 -08:00
memory.h Hook up the terminal based on the first display. 2019-01-31 11:42:14 -08:00
port.h address @tannewt changes: move and rename common files; remove PORT_HEAP_SIZE 2019-02-15 20:32:32 -05:00
serial.h Move atmel-samd to tinyusb and support nRF flash. 2018-11-08 17:25:30 -08:00
spi_flash_api.h Move atmel-samd to tinyusb and support nRF flash. 2018-11-08 17:25:30 -08:00
supervisor.mk Update font location and shrink a bunch of builds 2019-04-12 15:25:48 -07:00
usb.h Move atmel-samd to tinyusb and support nRF flash. 2018-11-08 17:25:30 -08:00