circuitpython/ports
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
..
atmel-samd Add partial display update support. 2019-06-12 11:32:39 -07:00
bare-arm ports/{bare-arm,minimal}/Makefile: Only build with core source files. 2018-02-22 12:48:51 +11:00
cc3200 WIP: after merge; before testing 2018-07-11 16:45:30 -04:00
esp32 esp32/modules: Include umqtt library in frozen modules. 2018-06-15 16:39:49 +10:00
esp8266 WIP: atmel-samd trinket build works 2019-02-15 00:28:20 -05:00
minimal minimal/main: Allow to compile without GC enabled. 2018-05-21 13:13:21 +10:00
nrf Include display objects in gc. 2019-06-06 17:49:32 -04:00
pic16bit all: Update Makefiles and others to build with new ports/ dir layout. 2017-09-06 14:09:13 +10:00
qemu-arm put back test in qemu-arm build 2018-07-28 23:40:17 -04:00
stm32 WIP: after merge; before testing 2018-07-11 16:45:30 -04:00
teensy WIP: after merge; before testing 2018-07-11 16:45:30 -04:00
unix Fix unix build by using safe mode stub 2019-03-12 11:56:35 -07:00
windows WIP: after merge; before testing 2018-07-11 16:45:30 -04:00
zephyr zephyr/Makefile: Add kobj_types_h_target to Z_EXPORTS. 2018-05-21 10:35:16 +10:00