-
- Downloads
st3m: gfx: Release drawlists already before scanout
The framebuffer won't be modified until graphics task gets to another iteration of its infinite loop, so there's no reason to still hold the drawlist during scanout. Since this decouples drawlist release and ability to submit another drawlist from each other, split existing st3m_gfx_pipe_full into two functions - one that checks whether there's a free drawlist available to take, and one that checks whether a drawlist can be submitted for rasterization.
Showing
- components/micropython/usermodule/mp_sys_display.c 9 additions, 0 deletionscomponents/micropython/usermodule/mp_sys_display.c
- components/st3m/st3m_gfx.c 17 additions, 15 deletionscomponents/st3m/st3m_gfx.c
- components/st3m/st3m_gfx.h 3 additions, 0 deletionscomponents/st3m/st3m_gfx.h
- python_payload/mypystubs/sys_display.pyi 1 addition, 0 deletionspython_payload/mypystubs/sys_display.pyi
- python_payload/st3m/reactor.py 1 addition, 1 deletionpython_payload/st3m/reactor.py
- sim/fakes/sys_display.py 4 additions, 0 deletionssim/fakes/sys_display.py
Please register or sign in to comment