olikraus / ucglib

Arduino True Color Library for TFTs and OLEDs
https://github.com/olikraus/ucglib/wiki
Other
261 stars 76 forks source link

Frame buffer #122

Open fornellas opened 4 years ago

fornellas commented 4 years ago

I'm at my second project with ucglib in environments that do have more than enough RAM for having a frame buffer (Raspberry Pi and STM32). A frame buffer would allow a faster and clearer rendering, something that's quite evident at the 3D box demo, where it has to black the cube, and draw again from scratch, so it flickers a lot.

I'm willing to work on a PR for this:

Double buffering would be great (DMA and whatnot), but one step at a time.

This would it principle not require to refactor everything.

@olikraus are you OK with me working on this for a merge? Any pointers / suggestions? Tkz.