<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/shared-bindings/displayio, branch 4.x</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=4.x</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=4.x'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2019-07-18T23:47:28+00:00</updated>
<entry>
<title>Track a dirty area for in-memory bitmaps</title>
<updated>2019-07-18T23:47:28+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott@tannewt.org</email>
</author>
<published>2019-07-18T23:47:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=4a6bdb6fe471b3024b2ca1d977ef02bfd94cc12a'/>
<id>urn:sha1:4a6bdb6fe471b3024b2ca1d977ef02bfd94cc12a</id>
<content type='text'>
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
</content>
</entry>
<entry>
<title>Fix Group subscr to detect delete correctly</title>
<updated>2019-07-03T01:15:23+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott@tannewt.org</email>
</author>
<published>2019-07-03T01:15:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=745ff8f8c185ea924922e708d1257f4c6377fb90'/>
<id>urn:sha1:745ff8f8c185ea924922e708d1257f4c6377fb90</id>
<content type='text'>
Fixes #1957
</content>
</entry>
<entry>
<title>Fix displayio.Display docstring type for display_bus.</title>
<updated>2019-06-18T21:59:05+00:00</updated>
<author>
<name>Craig Forbes</name>
<email>cpforbes@starlake.org</email>
</author>
<published>2019-06-14T20:30:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=db74b92e77757caab7c5f2bb1d6ae09f5be3ed97'/>
<id>urn:sha1:db74b92e77757caab7c5f2bb1d6ae09f5be3ed97</id>
<content type='text'>
Add docs for group parameter for Display.show.
</content>
</entry>
<entry>
<title>Add baudrate to FourWire and shorten delay.</title>
<updated>2019-06-18T00:48:05+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott@tannewt.org</email>
</author>
<published>2019-06-18T00:48:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=4013bcde9eeab3dd2f8fd15a156c32f866a637b9'/>
<id>urn:sha1:4013bcde9eeab3dd2f8fd15a156c32f866a637b9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Minor tweaks based on Dan's feedback</title>
<updated>2019-06-13T07:34:19+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott@tannewt.org</email>
</author>
<published>2019-06-13T07:34:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=6f6dcafd906b2ac49291f4220f3fcc7cea6112e1'/>
<id>urn:sha1:6f6dcafd906b2ac49291f4220f3fcc7cea6112e1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add partial display update support.</title>
<updated>2019-06-12T18:32:39+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott@tannewt.org</email>
</author>
<published>2019-06-06T22:11:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=eb21fc3e31790cee094d5c11811b55a57625340a'/>
<id>urn:sha1:eb21fc3e31790cee094d5c11811b55a57625340a</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>Merge pull request #1920 from tannewt/fix_rst</title>
<updated>2019-06-08T04:41:00+00:00</updated>
<author>
<name>sommersoft</name>
<email>sommersoft@users.noreply.github.com</email>
</author>
<published>2019-06-08T04:41:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=9e4396bdcd33740d188a59191e00f8a398ee1ed1'/>
<id>urn:sha1:9e4396bdcd33740d188a59191e00f8a398ee1ed1</id>
<content type='text'>
Improve rST consistency for rst2pyi use</content>
</entry>
<entry>
<title>Improve rST consistency for rst2pyi use</title>
<updated>2019-05-31T02:02:47+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott@tannewt.org</email>
</author>
<published>2019-05-31T02:01:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=cfe24b85322a029758c3376eed2726657397bf33'/>
<id>urn:sha1:cfe24b85322a029758c3376eed2726657397bf33</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rework the pixel computation to use areas</title>
<updated>2019-05-22T00:41:06+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott@tannewt.org</email>
</author>
<published>2019-05-16T23:45:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=3fad7de8db7f1f317ab6d00a00a82e406ec6fb33'/>
<id>urn:sha1:3fad7de8db7f1f317ab6d00a00a82e406ec6fb33</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>Add index and remove to Group.</title>
<updated>2019-05-15T18:33:16+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott@tannewt.org</email>
</author>
<published>2019-05-15T18:33:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=5608e273a01d0c39d2f82c695eec860288afa4a8'/>
<id>urn:sha1:5608e273a01d0c39d2f82c695eec860288afa4a8</id>
<content type='text'>
</content>
</entry>
</feed>
