summaryrefslogtreecommitdiff
path: root/shared-bindings/displayio
AgeCommit message (Collapse)Author
2019-09-09Merge pull request #2101 from matthewnewberg/display_io_ditherScott Shawcroft
Add random dithering to ColorConverter
2019-09-08Set dither default to False and document itScott Shawcroft
2019-09-06Use kwargs for dither in ColorConverter constructorMatthew Newberg
2019-09-06Fix comment on color converterMatthew Newberg
2019-09-05Move dither parameter to ColorConverter constructor and parameterMatthew Newberg
2019-09-03Add .hidden to TileGrid and GroupScott Shawcroft
This allows for one to preserve ordering within a Group while hiding something temporarily. Fixes #1688
2019-08-31Add random dithering to ColorConverterMatthew Newberg
2019-08-26Minor renamesScott Shawcroft
2019-08-23Rework based on Dan's reviewScott Shawcroft
2019-08-22More cleanupScott Shawcroft
2019-08-22Add refresh_time to use if busy_pin is not givenScott Shawcroft
2019-08-22Add reset() to display busses to detect whether it worksScott Shawcroft
2019-08-22Refresh ePaper displays once code.py is done runningScott Shawcroft
2019-08-22Rework refresh API and factor common display stuff outScott Shawcroft
NOT TESTED! Just compiles Fixes #1691
2019-08-22Begin refresh rework.Scott Shawcroft
2019-08-22EPaper displays work mostly.Scott Shawcroft
2019-08-22Initial ePaper workScott Shawcroft
2019-08-21Get rid of the last bits of array dependancyDave Astels
2019-08-21Merge remote-tracking branch 'adafruit/master' into displayio_fill_areaDave Astels
2019-08-21Remove unneeded linesDave Astels
2019-08-20getting the buffer info should happen first (due to its check)Dave Astels
2019-08-20Move the get_buffer call earlierDave Astels
2019-08-20Remove array castDave Astels
2019-08-20Remove temporarily comments codeDave Astels
2019-08-20Rework to simplifyDave Astels
2019-08-20Switch to positional parametersDave Astels
2019-08-20Fix typoDave Astels
2019-08-16Simplify to only extracting one lineDave Astels
Since this was the usecase, doing so simplifies the function significantly.
2019-08-11shared-bindings: Use RUN_BACKGROUND_TASKSJeff Epler
2019-08-07Pass in preallocated result bufferDave Astels
2019-08-07Remove obsolete experimental propertyDave Astels
2019-08-05Merge remote-tracking branch 'adafruit/4.1.x' into merge_in_410Scott Shawcroft
2019-07-31Merge remote-tracking branch 'adafruit/master' into displayio_fill_areaDave Astels
2019-07-31Expose rotation with a propertyDave Astels
2019-07-31Get fill_area workingDave Astels
2019-07-25Add knobs for SSD1322 and two fixes.Scott Shawcroft
* Fix terminal clear after first successful code.py run. * Fix transmitting too many bytes for column constraint with single byte bounds.
2019-07-25WIP on exposing fill_areaDave Astels
2019-07-19Review feedback including NO_BRIGHTNESS_COMMAND macroScott Shawcroft
2019-07-19Add support for grayscale displays that are < 8 bit depth.Scott Shawcroft
This also improves Palette so it stores the original RGB888 colors. Lastly, it adds I2CDisplay as a display bus to talk over I2C. Particularly useful for the SSD1306. Fixes #1828. Fixes #1956
2019-07-18Track a dirty area for in-memory bitmapsScott Shawcroft
This fixes the bug that bitmap changes do not cause screen updates and optimizes the refresh when the bitmap is simply shown on the screen. If the bitmap is used in tiles, then changing it will cause all TileGrids using it to do a full refresh. Fixes #1981
2019-07-02Fix Group subscr to detect delete correctlyScott Shawcroft
Fixes #1957
2019-06-18Fix displayio.Display docstring type for display_bus.Craig Forbes
Add docs for group parameter for Display.show.
2019-06-17Add baudrate to FourWire and shorten delay.Scott Shawcroft
2019-06-13Minor tweaks based on Dan's feedbackScott 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-06-07Merge pull request #1920 from tannewt/fix_rstsommersoft
Improve rST consistency for rst2pyi use
2019-05-30Improve rST consistency for rst2pyi useScott Shawcroft
2019-05-21Rework the pixel computation to use areasScott Shawcroft
This changes the displayio pixel computation from per-pixel to per-area. This is precursor work to updating portions of the screen (#1169). It should provide mild speedups because bounds checks are done once per area rather than once per pixel. Filling by area also allows TileGrid to maintain a row-associative fill pattern even when the display's refresh is orthogonal to it.
2019-05-15Add index and remove to Group.Scott Shawcroft
2019-05-14Make Group iterable via a generic native iterator.Scott Shawcroft
Fixes #1694