Commit graph

127 commits

Author SHA1 Message Date
bunnie
d1c3ebce97 fix TTS in CI build 2022-07-06 05:08:22 +08:00
bunnie
77a92e310f shift around position of test in modals test and add a dedicated shellchat test 2022-07-06 05:04:26 +08:00
bunnie
11287938ab add bip39 facilities to the modals server 2022-07-06 04:52:52 +08:00
bunnie
77886fae4a adjust dead-weight size of qrtext down wards
the sizing was such that two pages of data had to be prepared
for even very short messages. This change fits the message back
into one page of data once again.
2022-07-05 13:07:04 +08:00
nworbnhoj
278f6e884d Merge branch 'iter' of github.com:nworbnhoj/xous-core into iter 2022-06-29 12:33:17 +10:00
nworbnhoj
bc2e4a4b2c tweak modals test clifford attractor generation 2022-06-29 12:32:58 +10:00
nworbnhoj
e7d5c11cbc
Merge branch 'main' into iter 2022-06-29 10:54:06 +10:00
nworbnhoj
247dfd2fe7 simplify gam bitmap img struct 2022-06-29 07:33:37 +10:00
nworbnhoj
35cd593f24 refine clifford attractor generation 2022-06-28 07:39:02 +10:00
nworbnhoj
6d1d514fe5 refine modal show_image alignment 2022-06-28 07:32:55 +10:00
Sean Cross
748d4ce87d Merge remote-tracking branch 'origin/main' into libstd-fs 2022-06-27 09:14:04 +08:00
bunnie
75b370a494 fix iterations on the test modal generator
the previous setting was so large that it took a long time to run.
the current setting takes maybe 2-3 minutes to complete.
2022-06-27 04:04:54 +08:00
Sean Cross
f131a77d4e modals: define opcode numbers for opcodes
Signed-off-by: Sean Cross <sean@xobs.io>
2022-06-26 16:44:40 +08:00
nworbnhoj
549178e148 implement Shrink adaptor iterator 2022-06-22 21:30:20 +10:00
bunnie
ebd636d324 improve debug output on modals 2022-06-22 18:13:29 +08:00
bunnie
78ea80f809 remove main() thread-wrapping for non-ditherpunk configs
saves a bit of memory
2022-06-19 21:39:29 +08:00
nworbnhoj
2dbdb10704 remove dependency on fast-image-resize crate 2022-06-18 12:07:58 +10:00
nworbnhoj
81ebb74b58 simplify clifford test image to greyscale U8 2022-06-18 09:00:36 +10:00
nworbnhoj
e9224cf4ae Merge branch 'main' of github.com:nworbnhoj/xous-core into main 2022-06-18 08:47:40 +10:00
nworbnhoj
409f696fde Implement gam::PixelType
enables gam::Img to import different image formats: U8 & U8x3 for now
2022-06-18 08:43:32 +10:00
nworbnhoj
9b8c4e063f
Merge branch 'betrusted-io:main' into main 2022-06-18 07:10:33 +10:00
nworbnhoj
f7e216bb25 convert RGB image immediately to greyscale on import
code simplification/reduction, and memory/processing saving
2022-06-18 07:07:15 +10:00
bunnie
1e266b3389 adjust image modal size to match the target size for image centering 2022-06-17 22:01:07 +08:00
nworbnhoj
d75c333888 remove unnecessary Tile clone 2022-06-17 23:22:29 +10:00
nworbnhoj
d33d7958f2 Merge branch 'main' of github.com:nworbnhoj/xous-core into main 2022-06-17 23:08:37 +10:00
nworbnhoj
148e0fdd99 remove unnecessary Img clone 2022-06-17 23:06:39 +10:00
nworbnhoj
346847104a
Merge branch 'betrusted-io:main' into main 2022-06-17 21:17:52 +10:00
nworbnhoj
39815cc596 fix gam::Tile render RHS 2022-06-17 21:16:25 +10:00
bunnie
cf89ebe5f5 add wrapper around main functions that need bigger stacks
This allows for `ditherpunk` config to have a much larger
stack size on select processes only.

The cost comes at a 4k fixed overhead for the sacrificial
wrapper thread, so we lose about 20k of runtime RAM, even
when ditherpunk is *not* activated (because we're
always wrapping the threads).

There is no impact on scheduling or CPU utilization, as the
wrapper thread blocks and is never scheduled once the real
main starts. However, it does subtract one thread from the
total available thread pool.
2022-06-16 03:40:19 +08:00
bunnie
b31c727f81 clean up some warnings 2022-06-15 03:55:03 +08:00
bunnie
02a097d0c4 comment out autoscale/rotate
the code seems to not work with images that are actually smaller
than the frame buffer, and for now, our images are smaller
2022-06-15 01:29:24 +08:00
bunnie
81961b20a2 fix issue with title bar creeping in on image modals 2022-06-15 01:28:59 +08:00
bunnie
1bd82b9ea4 try to debug why images aren't showing up 2022-06-14 19:06:33 +08:00
bunnie
dbd7ad1770 fix warning on ditherpunk test routine 2022-06-14 17:09:26 +08:00
bunnie
fc8e5df2b1 Merge remote-tracking branch 'origin/dither2' into dp2-merge 2022-06-14 16:45:38 +08:00
nworbnhoj
5be713d09e rustfmt modals tests 2022-06-14 16:19:02 +10:00
nworbnhoj
dda78b4ef3 implement clifford attractor as modal test image 2022-06-14 10:09:01 +10:00
nworbnhoj
6dfed76b66 remove dither crate dependency from modal tests 2022-06-14 05:16:50 +10:00
nworbnhoj
0bf71b84c1 implement gam Bitmap Dither
- remove depencency on dither crate
- Burkes diffusion scheme
2022-06-14 04:27:04 +10:00
bunnie
e32ea4d3f5 fix #174 2022-06-10 21:36:53 +08:00
bunnie
0830513ef1 debugging for dynamic resize issue 2022-06-07 16:42:10 +08:00
bunnie
ebd4e7a1ba improve dynamic notifications / kbhit reporting 2022-06-06 03:46:57 +08:00
bunnie
2161771b09 fix keyboard listener on dynamic notifications 2022-06-05 01:45:25 +08:00
nworbnhoj
f7395ae0d5 add example of jpeg decoding 2022-06-04 21:18:54 +10:00
nworbnhoj
069b54f86b rustfmt modals api 2022-06-04 16:54:22 +10:00
nworbnhoj
8deb266c45 remove image crate dependency from modals 2022-06-04 16:54:08 +10:00
nworbnhoj
beb2778ce6 implement gam bitmap.rotate90() 2022-06-02 14:23:09 +10:00
bunnie
da06d95acd add a deferred listener for keyboard events from a dynamic notification 2022-06-01 22:31:44 +08:00
bunnie
59550978f4 fix warnings that have cropped up for transition to 2021 edition 2022-06-01 11:54:24 +10:00
Sean Cross
d342d7a885 apps/services: remove xous::xous_main macro usage
This macro will be removed, since it is no longer necessary. Remove this
macro across the project and replace it with a standard `main()`
function.

Signed-off-by: Sean Cross <sean@xobs.io>
2022-06-01 11:54:24 +10:00