Damien George
bf51200bc1
tests/extmod/framebuf1: Fix test for framebuf invalid constructor.
8 years ago
Oleg Korsak
fd99690f18
extmod/modframebuf: Add GS4_HMSB format.
8 years ago
Damien George
4c4f586e2c
tests/extmod/framebuf1: Add test for no-op fill_rect.
8 years ago
Rami Ali
9112b0b62b
tests/extmod: Improve modframebuf test coverage.
8 years ago
Damien George
898d4c1217
extmod/modframebuf: Make framebuf implement the buffer protocol.
So that one can easily access the underlying data of the frame buffer, eg
to write the data out to a display.
8 years ago
Damien George
042d5f24d6
tests/extmod/framebuf1: Add basics tests for hline, vline, rect, line.
8 years ago
Damien George
81e171b7bb
extmod/modframebuf: Add back legacy FrameBuffer1 "class".
For backwards compatibility. It simple creates a frame buffer with the
MVLSB format.
8 years ago
Radomir Dopieralski
225e22b287
extmod/modframebuf: Make FrameBuffer handle 16bit depth.
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.
8 years ago
Alex March
94aeba0427
tests/extmod/framebuf1: Test framebuffer pixel clear, and text function.
8 years ago
Damien George
cac8dc3414
tests/extmod/framebuf1: Add tests for scrolling in the x-direction.
8 years ago
Damien George
2d8740a4d1
tests/extmod: Add a test for framebuf module, tested by coverage build.
8 years ago