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
Rendering to GLArea on non-ui thread #93
Comments
@cra0zy could you help out with this issue please |
I have no answer to this, I never managed to get this working even with a C program. |
@BaronKiko have you found a solution about this issue ? |
@BaronKiko have you read the documentation? https://www.mono-project.com/docs/gui/gtksharp/responsive-applications/ |
I never did however I think another dev on the ryujinx team did. It's possible he got around it some other way but he used a custom widget to get rendering in the main window. |
Thank you @BaronKiko and @knuxbbs for your answers. Using the provided link I've managed to create a custom multithreaded graphics control based on |
Hi,
We have been trying to use gtk# to host a GLArea for openTK to render into.
This has been achieved on the UI thread however we have a lot of rendering to do so we would like to do the rendering on a different thread.
Unfortunately I have been unable to do so as I can't make the context current on the new thread. Doing so simply throws an access violation exception.
I presume this is because I haven't unbound the context on the main thread however I am unable to find a way to do so with the API's available.
So am I missing something, or is this just not possible with the current API?
We would like to avoid using shared contexts for this.
Thank you for your time reading this
The text was updated successfully, but these errors were encountered: