aboutsummaryrefslogtreecommitdiff
path: root/tests/extmod/framebuf1.py
AgeCommit message (Collapse)Author
2020-03-30tests: Format all Python code with black, except tests in basics subdir.David Lechner
This adds the Python files in the tests/ directory to be formatted with ./tools/codeformat.py. The basics/ subdirectory is excluded for now so we aren't changing too much at once. In a few places `# fmt: off`/`# fmt: on` was used where the code had special formatting for readability or where the test was actually testing the specific formatting.
2017-06-10tests: Convert remaining "sys.exit()" to "raise SystemExit".Paul Sokolovsky
2017-04-04extmod/modframebuf: Make monochrome bitmap formats start with MONO_.Peter Hinch
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.
2017-03-20extmod/modframebuf: Add support for monochrome horizontal format.Peter Hinch
MHLSB and MHMSB formats are added to the framebuf module, which have 8 adjacent horizontal pixels represented in a single byte.
2017-01-25tests/extmod/framebuf1: Fix test for framebuf invalid constructor.Damien George
2017-01-25extmod/modframebuf: Add GS4_HMSB format.Oleg Korsak
2017-01-19tests/extmod/framebuf1: Add test for no-op fill_rect.Damien George
2016-12-13tests/extmod: Improve modframebuf test coverage.Rami Ali
2016-12-08extmod/modframebuf: Make framebuf implement the buffer protocol.Damien George
So that one can easily access the underlying data of the frame buffer, eg to write the data out to a display.
2016-12-05tests/extmod/framebuf1: Add basics tests for hline, vline, rect, line.Damien George
2016-12-01extmod/modframebuf: Add back legacy FrameBuffer1 "class".Damien George
For backwards compatibility. It simple creates a frame buffer with the MVLSB format.
2016-12-01extmod/modframebuf: Make FrameBuffer handle 16bit depth.Radomir Dopieralski
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.
2016-11-03tests/extmod/framebuf1: Test framebuffer pixel clear, and text function.Alex March
2016-09-05tests/extmod/framebuf1: Add tests for scrolling in the x-direction.Damien George
2016-09-04tests/extmod: Add a test for framebuf module, tested by coverage build.Damien George