rpi-rgb-led-matrix icon indicating copy to clipboard operation
rpi-rgb-led-matrix copied to clipboard

Re-use CreateFrameCanvas() in samples/gif-viewer.py

Open redphx opened this issue 2 years ago • 0 comments
trafficstars

I used the original sample to display a list of GIF files.
After a few minutes I got this warning:

CreateFrameCanvas() called 500 times. Usually you only want to call it once (or at most a few times) for double-buffering...

I modified the sample and re-use the canvas instead.

redphx avatar Jun 19 '23 02:06 redphx