circuitpython/shared-module/displayio
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
..
__init__.c Add partial display update support. 2019-06-12 11:32:39 -07:00
__init__.h Merge latest 4.0.x fixes into master 2019-06-11 16:16:29 -04:00
area.h Add partial display update support. 2019-06-12 11:32:39 -07:00
Bitmap.c Support multi-byte values with Bitmap 2019-04-04 12:50:35 -07:00
Bitmap.h Support multi-byte values with Bitmap 2019-04-04 12:50:35 -07:00
ColorConverter.c TileGrid: pixel_shader is not always a palette 2019-03-27 10:55:50 -04:00
ColorConverter.h TileGrid: pixel_shader is not always a palette 2019-03-27 10:55:50 -04:00
Display.c Add partial display update support. 2019-06-12 11:32:39 -07:00
Display.h Add partial display update support. 2019-06-12 11:32:39 -07:00
FourWire.c Merge remote-tracking branch 'adafruit/master' into fix_cpx_display 2019-04-08 17:15:08 -07:00
FourWire.h Stop hard-coding SPI frequency in FourWire 2019-04-06 15:15:29 +02:00
Group.c Add partial display update support. 2019-06-12 11:32:39 -07:00
Group.h Add partial display update support. 2019-06-12 11:32:39 -07:00
mipi_constants.h Minor tweaks based on feedback 2018-09-06 14:49:49 -07:00
OnDiskBitmap.c Fix off by one error in OnDiskBitmap 2019-04-17 15:17:11 -07:00
OnDiskBitmap.h added monochrome, 8bpp indexed, and 32bpp ARGB BMPs 2019-02-28 23:08:12 -08:00
Palette.c Add partial display update support. 2019-06-12 11:32:39 -07:00
Palette.h Make displayio.Palette support more than 255 colors 2019-03-20 20:36:05 +01:00
Shape.c DISPIO: end_x can't be > height of shape 2019-02-12 17:53:11 -05:00
Shape.h Add support for rendering a shape. 2019-01-14 17:29:15 -08:00
TileGrid.c Add partial display update support. 2019-06-12 11:32:39 -07:00
TileGrid.h Add partial display update support. 2019-06-12 11:32:39 -07:00