fddf21b8de
While the previous approach of a static thread pool worked, it was sub-optimal in its resource usage. Many of the threads would never see a single task, and simply permanently sleep. This seems like a good idea, except that sleeping threads still end up in the scheduler, and thus waste a tiny amount of resources. It is better to instead dynamically spawn threads when needed and only keeping the bare minimum around all the time. These dynamically spawned threads are also explicitly set to background priority which further reduces scheduling overhead. Finally optimizing the memory layout to prevent unwanted false sharing should also keep sporadic wake ups at a minimum. This new model should be able to handle many more tasks than ever before, but is still not as optimal as it could be. |
||
---|---|---|
.github | ||
cmake | ||
data | ||
media | ||
source | ||
templates | ||
third-party | ||
tools | ||
ui | ||
.clang-format | ||
.clang-tidy | ||
.editorconfig | ||
.gitignore | ||
.gitmodules | ||
.mailmap | ||
AUTHORS.md | ||
CMakeLists.txt | ||
CODEOWNERS | ||
CONTRIBUTING.md | ||
crowdin.yml | ||
LICENSE | ||
README.md |
StreamFX
StreamFX is a plugin to libOBS (OBS Studio, StreamElements OBS Live) that adds new sources, filters and transitions to give you the ability to drastically improve your stream and recording setup past what was possible in OBS Studio until now. Whether it is blurring out a region, moving something in 3D, or just writing your own shaders as a new transition, source or filter - StreamFX has it all.
Support the StreamFX project!
Like any other free project, StreamFX relies on donations to be continuously developed and stay free. If StreamFX helped you, consider helping the StreamFX project by making a one time donation via PayPal, or a continuous donation via Patreon or Github Sponsors!
Contributing
There's two ways you can directly contribute to the project. One is by submitting translations into your language on Crowdin, and the other is by contributing code to the project.