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
[RFC] Merging HeadlessContext and Context #1028
Comments
Would this change allow us to create a context without a window then share it with multiple windows? If so, Id be 100% aboard. |
Yes I believe it should. The underlying contexts are interoperable, but right now we can't really pass one to the other because a headless context uses a platform:: HeadlessContext instead of a platform::Context
|
Maybe rather than merging the two, we could have the shared context argument be a |
I thought about that and we could use the |
Should be closed now. |
I don't think there's currently any way to share a regular context with a headless context because of the split between HeadlessContext and Context. There's a couple differences between the two in their implementation, but API wise I don't think there's much use in separating them out (AFAIK). Any thoughts or are there better ways to create shared regular and headless contexts?
The text was updated successfully, but these errors were encountered: