-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Features/MultiThread_suite_V2 #59
base: main
Are you sure you want to change the base?
Conversation
Suite Cleanup, create V2 of suite removing all references to mutext. Locking to be done with OS calls if needed.
Update the MultiThread suite to V2. Request is to clean up suites that have ambiguities in terms of what is implemented. All mutext calls in V2 are removed. Plug-in would need to use OS calls for that if needed.
There is only a single file, initially copied in wrong folder and deleted |
Just reviewing old PRs... I see the version of |
Not sure what you mean by different marker. You mean when you switched from Features to Feature/ :) A bigger issue for us is with hosts that can render multiple frames at once - we have kOfxImageEffectPluginRenderThreadSafety for that. For example host might not support the OpenGL suite but we can still render on GPU from CPU images, however we had issues in the past with nVidia driver in such case in some host spawning a bunch of multiple frames render at once (making this real slow - the warp engine loops and can't find a slot) so we are not then [kOfxImageEffectRenderFullySafe] - we are though if a user sets our plugin to render on CPU... Definition is only a Property Set - plugin descriptor (read/write) - does not say if one can change in Instance Changed... and have not tested. Alternatively in the GPU additional WIP features it was suggested we have a parallel interface for I use GPU and which one. https://openfx.readthedocs.io/en/latest/Reference/DoxygenIndex.html#c.kOfxImageEffectPluginRenderThreadSafety does support |
No, I mean the file itself has "diff markers" in it. It would not compile as is. You replaced the actual file with something corrupted. The first line of include/ofxMultiThread.h is now this literal text:
|
As per your other points, I suggest you take that up with a host vendor who is willing to implement their side of it, and see where that goes. I wouldn't post it in a PR until you have that. I couldn't read the changes in this PR because of the file corruption, so I don't really know what it contains. Maybe if you can send me an un-corrupted version of what you intend the header file to look like, I can clean up this branch with it. |
Update the MultiThread suite to V2. Request is to clean up suites that have ambiguities in terms of what is implemented. All mutext calls in V2 are removed. Plug-in would need to use OS calls for that if needed.
Description
Plug-in can check if V2 is supported by host, if not revert to V1 or ignore.
This suite allows hosts to manage a thread pool and fight back against over-thread subscription on multi-core systems.