circuitpython/shared-bindings/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
..
Bitmap.c Properly calculate BPP for displayio.Bitmap 2019-03-25 19:40:40 +01:00
Bitmap.h A variety of displayio improvements 2019-02-11 20:55:05 -08:00
ColorConverter.c A variety of displayio improvements 2019-02-11 20:55:05 -08:00
ColorConverter.h Add OnDiskBitmap which loads pixel data straight from disk. 2018-09-12 15:25:59 -07:00
Display.c Check native object in case of early access 2019-05-13 17:31:30 -07:00
Display.h Add partial display update support. 2019-06-12 11:32:39 -07:00
FourWire.c Update displayio docs to add detail to display bus comments 2019-03-12 17:18:33 -07:00
FourWire.h Reorganize board busses into shared-bindings and shared-module. 2019-04-08 16:58:50 -07:00
Group.c Add index and remove to Group. 2019-05-15 11:33:16 -07:00
Group.h Add index and remove to Group. 2019-05-15 11:33:16 -07:00
OnDiskBitmap.c Fixed the OnDiskBitmap example to reflect code changes 2019-03-02 09:12:40 -08:00
OnDiskBitmap.h adding height and width to OnDiskBitmap for #1460 2019-01-20 22:33:22 -08:00
Palette.c Update Palette.c 2019-05-14 08:03:34 -05:00
Palette.h Minor tweaks based on feedback 2018-09-06 14:49:49 -07:00
ParallelBus.c Update displayio docs to add detail to display bus comments 2019-03-12 17:18:33 -07:00
ParallelBus.h Fix other builds and hallowing 2019-01-17 14:45:29 -08:00
Shape.c Arg check width and height into Shape. 2019-02-13 17:34:39 -08: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
__init__.c Improve rST consistency for rst2pyi use 2019-05-30 19:02:47 -07:00
__init__.h External fourwire works and blinka splash after 2019-01-17 00:20:16 -08:00