Skip to content
Snippets Groups Projects
Commit 82bfdecc authored by pippin's avatar pippin
Browse files

py,st3m-ui: hold overlays mutex for shorter intervals

For fps overlay only show every 5th frame, for the regular overlay
first collect list of active overlays, and only if there is overlays
active get and flush the overlay ctx.

Also clearing a smaller rectangle with default overlays - the fps code
which does a lot less work is more reliable for use with mpremote.
parent 32b420c3
Branches
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment