<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/extmod/modframebuf.c, branch v1.8.7</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.8.7</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.8.7'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2016-12-09T01:58:45+00:00</updated>
<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>
<entry>
<title>extmod/modframebuf: Add back legacy FrameBuffer1 "class".</title>
<updated>2016-12-01T05:43:25+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-12-01T04:51:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=81e171b7bb38cff377ca389cd6fb179aea325998'/>
<id>urn:sha1:81e171b7bb38cff377ca389cd6fb179aea325998</id>
<content type='text'>
For backwards compatibility.  It simple creates a frame buffer with the
MVLSB format.
</content>
</entry>
<entry>
<title>extmod/modframebuf: Make FrameBuffer handle 16bit depth.</title>
<updated>2016-12-01T05:43:25+00:00</updated>
<author>
<name>Radomir Dopieralski</name>
<email>openstack@sheep.art.pl</email>
</author>
<published>2016-08-28T15:44:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=225e22b2877c7731b7428db0e28d3ad7e6751e35'/>
<id>urn:sha1:225e22b2877c7731b7428db0e28d3ad7e6751e35</id>
<content type='text'>
Rename FrameBuffer1 into FrameBuffer and make it handle different bit
depths via a method table that has getpixel and setpixel.  Currently
supported formats are MVLSB (monochrome, vertical, LSB) and RGB565.

Also add blit() and fill_rect() methods.
</content>
</entry>
<entry>
<title>all: Remove 'name' member from mp_obj_module_t struct.</title>
<updated>2016-09-21T14:23:16+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-09-21T00:52:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=93c4a6a3f70e389b466fbc7a4f1ad2e1df87c93f'/>
<id>urn:sha1:93c4a6a3f70e389b466fbc7a4f1ad2e1df87c93f</id>
<content type='text'>
One can instead lookup __name__ in the modules dict to get the value.
</content>
</entry>
<entry>
<title>extmod/framebuf: Add the xstep!=0 case to scroll() method.</title>
<updated>2016-09-05T02:06:56+00:00</updated>
<author>
<name>Radomir Dopieralski</name>
<email>openstack@sheep.art.pl</email>
</author>
<published>2016-09-02T14:15:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=778729c5977633978aef2ec302472505973a657e'/>
<id>urn:sha1:778729c5977633978aef2ec302472505973a657e</id>
<content type='text'>
Adds horizontal scrolling. Right now, I'm just leaving the margins
created by the scrolling as they were -- so they will repeat the
edge of the framebuf. This is fast, and the user can always fill
the margins themselves.
</content>
</entry>
<entry>
<title>extmod/modframebuf: Include font from stmhal directory explicitly.</title>
<updated>2016-09-04T06:39:28+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-09-04T06:39:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=47899a1ab8756c3850bb275f3756544da0e7b050'/>
<id>urn:sha1:47899a1ab8756c3850bb275f3756544da0e7b050</id>
<content type='text'>
So that users of framebuf don't need to have stmhal directory in their
path.  (Eventually the font can be moved elsewhere.)
</content>
</entry>
<entry>
<title>extmod/modframebuf: Fix fill and scroll when height not divisible by 8.</title>
<updated>2016-09-02T13:58:34+00:00</updated>
<author>
<name>Radomir Dopieralski</name>
<email>openstack@sheep.art.pl</email>
</author>
<published>2016-08-28T17:13:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=41ec22632da8f61ca5c841e13206258048d1be5b'/>
<id>urn:sha1:41ec22632da8f61ca5c841e13206258048d1be5b</id>
<content type='text'>
There was a bug in `framebuf1_fill` function, that makes it leave a few
lines unfilled at the bottom if the height is not divisible by 8.

A similar bug is fixed in the scroll method.
</content>
</entry>
</feed>
