circuitpython/shared-bindings
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
..
2019-03-02 18:33:37 -06:00
2018-08-07 14:58:57 -07:00
2019-06-04 18:05:46 -03:00
2018-08-07 14:58:57 -07:00
2018-12-30 22:49:20 -05:00
2019-03-19 18:37:41 -07:00
2019-05-30 19:02:47 -07:00
2019-06-04 18:05:46 -03:00
2018-08-07 14:58:57 -07:00