moolicc / Wallop

Extensible, living/animated wallpaper engine built in C# using Silk.NET's OpenGL wrapper at its core.
29 stars 4 forks source link

Add progressive option for update/draw threading #140

Closed moolicc closed 1 year ago

moolicc commented 1 year ago

We should add options to both the update and draw policies which allow for progressive update/drawing.

Essentially, we should perform only a certain number of update/draws per-frame, and sequentially switch the set of that size of updates/draws each frame.

For example, if we have 9 things that need to be updated

Frame 1: Update things 0-2 Frame 2: Update things 3-5 Frame 3: Update things 6-8

Then the rotation begins again.