<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/extmod/modframebuf.c, branch v1.9.1</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.9.1</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.9.1'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2017-06-10T17:34:38+00:00</updated>
<entry>
<title>extmod/modframebuf: Fix signed/unsigned comparison pendantic warning.</title>
<updated>2017-06-10T17:34:38+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2017-06-10T17:31:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=0a7735f1a67e7c2d6f59205f8d57fca2449cec93'/>
<id>urn:sha1:0a7735f1a67e7c2d6f59205f8d57fca2449cec93</id>
<content type='text'>
Happened with 32-bit gcc 4.8.4.
</content>
</entry>
<entry>
<title>extmod/modframebuf: Make monochrome bitmap formats start with MONO_.</title>
<updated>2017-04-04T07:38:33+00:00</updated>
<author>
<name>Peter Hinch</name>
<email>peter@hinch.me.uk</email>
</author>
<published>2017-04-01T06:00:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=468c6f9da147d6e752e437a32211e317a116b6df'/>
<id>urn:sha1:468c6f9da147d6e752e437a32211e317a116b6df</id>
<content type='text'>
MONO_xxx is much easier to read if you're not familiar with the code.
MVLSB is deprecated but kept for backwards compatibility, for the time
being.

This patch also updates the associated docs and tests.
</content>
</entry>
<entry>
<title>extmod/modframebuf: Add support for monochrome horizontal format.</title>
<updated>2017-03-20T05:21:47+00:00</updated>
<author>
<name>Peter Hinch</name>
<email>peter@hinch.me.uk</email>
</author>
<published>2017-02-06T10:59:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=231cfc84a7cae31f93208c334fc33b08278040eb'/>
<id>urn:sha1:231cfc84a7cae31f93208c334fc33b08278040eb</id>
<content type='text'>
MHLSB and MHMSB formats are added to the framebuf module, which have 8
adjacent horizontal pixels represented in a single byte.
</content>
</entry>
<entry>
<title>extmod/modframebuf: Add GS4_HMSB format.</title>
<updated>2017-01-25T12:19:28+00:00</updated>
<author>
<name>Oleg Korsak</name>
<email>kamikaze.is.waiting.you@gmail.com</email>
</author>
<published>2017-01-01T02:24:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=fd99690f1859a46aee690355170ad13eed9f0122'/>
<id>urn:sha1:fd99690f1859a46aee690355170ad13eed9f0122</id>
<content type='text'>
</content>
</entry>
<entry>
<title>extmod/modframebuf: Clip pixels drawn by line method.</title>
<updated>2017-01-23T03:35:00+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-01-23T03:35:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=e2d13d934a19651bb7c06c0212a1b875d8b9be1b'/>
<id>urn:sha1:e2d13d934a19651bb7c06c0212a1b875d8b9be1b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>extmod/modframebuf: optimize fill_rect subroutine call</title>
<updated>2017-01-08T18:16:17+00:00</updated>
<author>
<name>Oleg Korsak</name>
<email>kamikaze.is.waiting.you@gmail.com</email>
</author>
<published>2017-01-07T20:03:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=e45035db5c297190eee18cefa3b91b36b9f0e32b'/>
<id>urn:sha1:e45035db5c297190eee18cefa3b91b36b9f0e32b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>extmod/modframebuf: Store underlying buffer object to prevent GC free.</title>
<updated>2016-12-09T01:58:45+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-12-09T01:58:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=adf3cb50818636fdfb75e1a6a71b596565dcc90e'/>
<id>urn:sha1:adf3cb50818636fdfb75e1a6a71b596565dcc90e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>extmod/modframebuf: Make framebuf implement the buffer protocol.</title>
<updated>2016-12-08T04:17:47+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-12-08T04:17:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=898d4c1217e69497c67ca2ddb66641406a03700b'/>
<id>urn:sha1:898d4c1217e69497c67ca2ddb66641406a03700b</id>
<content type='text'>
So that one can easily access the underlying data of the frame buffer, eg
to write the data out to a display.
</content>
</entry>
<entry>
<title>extmod/modframebuf: Add hline, vline, rect and line methods.</title>
<updated>2016-12-05T00:52:51+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-12-05T00:52:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=374ed317c587dfc5ffcd9bdbe21aaa39d81c246b'/>
<id>urn:sha1:374ed317c587dfc5ffcd9bdbe21aaa39d81c246b</id>
<content type='text'>
These are basic drawing primitives.  They work in a generic way on all
framebuf formats by calling the underlying setpixel or fill_rect C-level
primitives.
</content>
</entry>
<entry>
<title>extmod/modframebuf: Optimise fill and fill_rect methods.</title>
<updated>2016-12-01T05:51:31+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-12-01T05:51:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=a081b49d55ef409d612666d79a97e79259c8adba'/>
<id>urn:sha1:a081b49d55ef409d612666d79a97e79259c8adba</id>
<content type='text'>
Fill is a very common operation (eg to clear the screen) and it is worth
optimising it, by providing a specialised fill_rect function for each
framebuffer format.

This patch improved the speed of fill by 10 times for a 16-bit display
with 160*128 pixels.
</content>
</entry>
</feed>
