Commit graph

10 commits

Author SHA1 Message Date
Olivier Goffart
cc2a06dc07 Create an EmptyDisplay of a decent size
(The mock display is just 16x16 and nt representative of screen we want to draw on)
2022-01-04 16:06:00 +01:00
Olivier Goffart
d7911f1443 MCU: handle the scale factor 2022-01-04 16:06:00 +01:00
Simon Hausmann
93a0c5bc60 Make the mcu backend compile for the pico with the st7789 driven screen
This bundles all the board specific code in the mcu crate. There's much
to do though, so this is just a rough start and when it's all done we
should probably squash this.

Since the mcu crate dependencies require nightly and our CI builds with
stable, this removes the mcu backend from the default build and the ci.
2022-01-04 16:06:00 +01:00
Simon Hausmann
8858bf8794 Change the dummy backend in the mcu backend to render into a given DrawTarget
* This requires passing the target through a thread-local (hence the corelib export
* Also fetch the background color and resize the item to match the draw target size
* The draw target is a generic and it just needs to support convertion from rgb888
2022-01-04 16:06:00 +01:00
Olivier Goffart
0f2b9f7b78 Add a dummy "device" renderer for the MCU backend
This intends to render just one frame.
2022-01-04 16:06:00 +01:00
Tobias Hunger
bfca0e3573 Mass update copyright messages to be more REUSE compliant 2021-12-22 10:06:12 +01:00
Olivier Goffart
691d43d416 MCU backend: build with no_std 2021-11-30 21:33:32 +01:00
Olivier Goffart
6004c4ee2f Make the std feature optional in sixtyfps-rs
And tweak the MCU backend dependencie
2021-11-30 15:48:05 +01:00
Olivier Goffart
a40885b39e MCI: small changes required to run an (empty) windows for the compiled printerdemo 2021-11-19 16:03:38 +01:00
Simon Hausmann
abb423ed33 Initial commit for a new software rendering backend for use in MCUs
This adds the skeleton, including a winit driven simulator window
and a dummy ItemRenderer implementation.
2021-11-19 15:02:52 +01:00