-
Notifications
You must be signed in to change notification settings - Fork 5
nvfbc-sys: Add Windows Support #7
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
base: main
Are you sure you want to change the base?
Conversation
|
Sorry for taking so long to review this. I don't think it makes sense to add Windows support if it requires quite a significant number of changes, in addition to it being officially unsupported. Any future update to the Nvidia Windows drivers might remove support for NvFBC. |
|
I think just adding windows support to the bindings crate is enough, you can still use it unsafe without the library wrapper. Edit: I'll revert the library changes when I get the chance. |
I have tested that
nvfbc-sysandnvfbcbuild successfully on Linux, and thatnvfbc-sysbuilds on Windows, howevernvfbcis still incompatible with the Nvidia Capture SDK v7, I'm not sure how to go about supporting both v7 and v8, but the unsafe bindings should work, untested.Related: #6 but still needs
nvfbcsupport to close.