uberlambda / weegfx Goto Github PK
View Code? Open in Web Editor NEWA small, platform-agnostic C99 graphics library for MCUs with low SRAM space.
License: BSD 3-Clause "New" or "Revised" License
A small, platform-agnostic C99 graphics library for MCUs with low SRAM space.
License: BSD 3-Clause "New" or "Revised" License
wgfxFillRect()
fills the screen with pixel data that is all the same; that means that it has to fill the scratch buffer first, then copy the scratch buffer multiple times until all data is transferred.
This could be improved by adding a writeMultiple(const WGFX_U8 *buf, unsigned size, unsigned count, void *userPtr)
function pointer to WGFXscreen
, that would write count
copies of buf
to it in sequence.
STM32s (and surely others) support transferring the same byte/half/word an arbitrary number of times via DMA (by simply not incrementing the source pointer after transfers). If size <= 4
, the STM32 SPI/DMA backend could just transfer buf
repeatedly with a single DMA transfer - potentially being much faster at wgfxFillRect()
!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.