summaryrefslogtreecommitdiff
path: root/shared-module/_protomatter
AgeCommit message (Collapse)Author
2020-04-17Rename _protomatter -> protomatterJeff Epler
I originally believed that there would be a wrapper library around it, like with _pixelbuf; but this proves not to be the case, as there's too little for the library to do.
2020-04-14protomatter: Respond to review commentsJeff Epler
- rename oe_pin -> output_enable_pin - improve and reorganize docstrings - rename swapbuffers->refresh - rename "paused" -> "brightness", change semantics slightly - common_hal several functions - clarify why the common_hal routines can't be used directly in the protocol's function pointers - whitespace cleanups - remove prototypes for nonexistent functions
2020-04-14protomatter: Use low end of supervisor heapJeff Epler
Per @tannewt, this area "sees more churn", so it's probably the right choice here
2020-04-14protomatter: allocator: Never supervisor-alloc while gc availableJeff Epler
This may have been contributing to fragmentation of the supervisor heap
2020-04-14_protomatter: move get/set paused into shared-moduleJeff Epler
2020-04-14deinit: Work harder to ensure storage is released at deinitJeff Epler
2020-04-14protomatter: more memory allocation fixesJeff Epler
- bump supervisor alloc count by 4 (we actually use 5) - move reconstruct to after gc heap is reset - destroy protomatter object entirely if not used by a FramebufferDisplay - ensure previous supervisor allocations are released - zero out pointers so GC can collect them
2020-04-14Add Protomatter and FramebufferDisplayJeff Epler