Performance Metrics and Optional Buffer Sync #12
Roger-random
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
New Features
AnimatedGIF
decoder library depends on the frame buffer being preserved from one frame to the next. However, this is not true in double-buffering. (Need a way to keep double buffers in sync with each other #11) Setting the new flagcopyAfterSwap
totrue
will copy frame buffers so they stay in sync from one frame to the next. This flag isfalse
by default to avoid unnecessary copy when not needed.ESP_8_BIT_GFX
class now tracks how much time is spent inwaitForFrame()
which can be used as an approximation for idle time. This is in turn an approximation for performance, as faster code will leave more time between frames idle. In order to keep this tracking code lightweight, there are caveats on how these numbers should be interpreted. See comment block inESP_8_BIT_GFX.h
(initial version also copied in Add some way to see performance metrics #4 ) for details.New Example
AnimatedGIF
illustrates how to use this color composite video out library with theAnimatedGIF
library by Larry Bank / bitbank2. This is a light modification of example projectESP32_LEDMatrix_I2S
from that library.Bug Fixes
This discussion was created from the release Performance Metrics and Optional Buffer Sync.
Beta Was this translation helpful? Give feedback.
All reactions