- 03 5月, 2022 1 次提交
-
-
由 Jim Mussared 提交于
This replaces occurences of foo_t *foo = m_new_obj(foo_t); foo->base.type = &foo_type; with foo_t *foo = mp_obj_malloc(foo_t, &foo_type); Excludes any places where base is a sub-field or when new0/memset is used. Signed-off-by: NJim Mussared <jim.mussared@gmail.com>
-
- 25 8月, 2021 1 次提交
-
-
由 Peter Hinch 提交于
This achieves a substantial performance improvement when rendering glyphs to color displays, the benefit increasing proportional to the number of pixels in the glyph.
-
- 29 1月, 2021 1 次提交
-
-
由 Damien George 提交于
These args are already bounds checked and clipped, and using unsigned ints can be more efficient. It also eliminates possible issues and compiler warnings with shifting of signed integers. Signed-off-by: NDamien George <damien@micropython.org>
-
- 05 4月, 2020 1 次提交
-
-
由 Jim Mussared 提交于
-
- 28 2月, 2020 1 次提交
-
-
由 Damien George 提交于
This is run with uncrustify 0.70.1, and black 19.10b0.
-
- 21 2月, 2020 1 次提交
-
-
由 Jim Mussared 提交于
-
- 12 12月, 2019 1 次提交
-
-
由 Damien George 提交于
So they can be built as dynamic native modules, as well as existing static native modules.
-
- 14 12月, 2017 2 次提交
-
-
由 Damien George 提交于
-
由 Petr Viktorin 提交于
This format is used in 2-color LED matrices and in e-ink displays like SSD1606.
-
- 04 10月, 2017 1 次提交
-
-
由 Damien George 提交于
Header files that are considered internal to the py core and should not normally be included directly are: py/nlr.h - internal nlr configuration and declarations py/bc0.h - contains bytecode macro definitions py/runtime0.h - contains basic runtime enums Instead, the top-level header files to include are one of: py/obj.h - includes runtime0.h and defines everything to use the mp_obj_t type py/runtime.h - includes mpstate.h and hence nlr.h, obj.h, runtime0.h, and defines everything to use the general runtime support functions Additional, specific headers (eg py/objlist.h) can be included if needed.
-
- 06 9月, 2017 1 次提交
-
-
由 Damien George 提交于
Also renames "stmhal" to "stm32" in documentation and everywhere else.
-
- 31 7月, 2017 1 次提交
-
-
由 Damien George 提交于
-
- 29 7月, 2017 1 次提交
-
-
由 Paul Sokolovsky 提交于
-
- 25 7月, 2017 2 次提交
-
-
由 Damien George 提交于
Thanks to @kamikaze, aka Oleg Korsak, for the original idea and patch.
-
由 Radomir Dopieralski 提交于
Since the stride is specified in pixels, in a 4-bit horizontal format it has to always be even, otherwise the computation is wrong and we can write outside of the buffer sometimes.
-
- 15 6月, 2017 1 次提交
-
-
由 Damien George 提交于
-
- 11 6月, 2017 1 次提交
-
-
由 Paul Sokolovsky 提交于
Happened with 32-bit gcc 4.8.4.
-
- 04 4月, 2017 1 次提交
-
-
由 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.
-
- 20 3月, 2017 1 次提交
-
-
由 Peter Hinch 提交于
MHLSB and MHMSB formats are added to the framebuf module, which have 8 adjacent horizontal pixels represented in a single byte.
-
- 25 1月, 2017 1 次提交
-
-
由 Oleg Korsak 提交于
-
- 23 1月, 2017 1 次提交
-
-
由 Damien George 提交于
-
- 09 1月, 2017 1 次提交
-
-
由 Oleg Korsak 提交于
-
- 09 12月, 2016 1 次提交
-
-
由 Damien George 提交于
-
- 08 12月, 2016 1 次提交
-
-
由 Damien George 提交于
So that one can easily access the underlying data of the frame buffer, eg to write the data out to a display.
-
- 05 12月, 2016 1 次提交
-
-
由 Damien George 提交于
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.
-
- 01 12月, 2016 3 次提交
-
-
由 Damien George 提交于
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.
-
由 Damien George 提交于
For backwards compatibility. It simple creates a frame buffer with the MVLSB format.
-
由 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.
-
- 21 9月, 2016 1 次提交
-
-
由 Damien George 提交于
One can instead lookup __name__ in the modules dict to get the value.
-
- 05 9月, 2016 1 次提交
-
-
由 Radomir Dopieralski 提交于
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.
-
- 04 9月, 2016 1 次提交
-
-
由 Damien George 提交于
So that users of framebuf don't need to have stmhal directory in their path. (Eventually the font can be moved elsewhere.)
-
- 02 9月, 2016 1 次提交
-
-
由 Radomir Dopieralski 提交于
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.
-
- 27 8月, 2016 1 次提交
-
-
由 Damien George 提交于
-
- 12 4月, 2016 1 次提交
-
-
由 Damien George 提交于
-