-
- Downloads
gfx,py: rate limit overlays
Managing and rendering overlays is a large penalty to have per-frame, ideally the overlays only re-render when there has been change, this commit cuts the number of overlays re-renders in 8. And does the overlays on top of the framebuffer. Before scanout a slice centered and from the top down is composited over the framebuffer. When only icons are shown less work is done. The maximum extent of the overlay covers the volume control and icons. The debug overlay no longer is visible since it renders outside the supported overlay area.
Showing
- components/ctx/ctx.c 62 additions, 0 deletionscomponents/ctx/ctx.c
- components/micropython/usermodule/mp_sys_display.c 17 additions, 0 deletionscomponents/micropython/usermodule/mp_sys_display.c
- components/st3m/st3m_gfx.c 71 additions, 0 deletionscomponents/st3m/st3m_gfx.c
- components/st3m/st3m_gfx.h 6 additions, 0 deletionscomponents/st3m/st3m_gfx.h
- python_payload/st3m/ui/elements/overlays.py 26 additions, 6 deletionspython_payload/st3m/ui/elements/overlays.py
Loading
Please register or sign in to comment