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:
Have a constructor option to use a frame buffer.
Add a new command to update the whole screen from the buffer.
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.
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.