summaryrefslogtreecommitdiff
path: root/shared-module/displayio/Display.h
AgeCommit message (Collapse)Author
2019-06-12Refactor deinit check to reduce code size.Scott Shawcroft
2019-06-12Add partial display update support.Scott Shawcroft
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-04-04Added option to easily treat SPI parameter data as commandsMelissa LeBlanc-Williams
2019-03-27Simplified cs toggling into fourwire onlyMelissa LeBlanc-Williams
2019-03-27Simplified into fourwire onlyMelissa LeBlanc-Williams
2019-03-26Removed parameter so CS is always toggledMelissa LeBlanc-Williams
2019-03-26Removed parameter so CS is always toggledMelissa LeBlanc-Williams
2019-03-24Added Single Byte Boundaries option for certain displaysMelissa LeBlanc-Williams
2019-03-23Added option to toggle cs in displayio init sequenceMelissa LeBlanc-Williams
2019-02-01Add support for display rotation and raw commandsScott Shawcroft
Display rotation is relative to the scan order of the display. The scan order can be found by scrolling the display with command 0x37 `display_bus.send(0x37, struct.pack(">H", i % 128))` Fixes #1504
2019-01-31Rudamentary backlight supportScott Shawcroft
2019-01-16Rework displays in prep for dynamic support and 8bit parallel.Scott Shawcroft